mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-08-26 09:49:40 +00:00
fixes issues
This commit is contained in:
@ -43,15 +43,15 @@ class SosScreen extends StatelessWidget {
|
||||
actions: [
|
||||
InkWell(
|
||||
onTap: () async {
|
||||
var val = await Navigator.of(context).push(
|
||||
Navigator.of(context).push(
|
||||
MaterialPageRoute(
|
||||
builder: (context) => SosSettings(device: device!),
|
||||
),
|
||||
);
|
||||
if (val == true) {
|
||||
sensor.add(SosInitialDeviseInfo());
|
||||
sensor.add(const SosInitial());
|
||||
}
|
||||
// if (val == null) {
|
||||
// sensor.add(SosInitialDeviseInfo());
|
||||
// sensor.add(const SosInitial());
|
||||
// }
|
||||
},
|
||||
child: SvgPicture.asset(Assets.assetsIconsSettings),
|
||||
),
|
||||
|
Reference in New Issue
Block a user