mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 08:14:55 +00:00
Update flush sensor logic to trigger initial events when value is null or true,
This commit is contained in:
@ -70,7 +70,7 @@ class FlushMountedInterface extends StatelessWidget {
|
|||||||
SettingsPage(device: deviceModel),
|
SettingsPage(device: deviceModel),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
if (val == null) {
|
if (val == null || val == true) {
|
||||||
bloc.add(FlushSensorInitialDeviceInfo());
|
bloc.add(FlushSensorInitialDeviceInfo());
|
||||||
bloc.add(FlushSensorInitialEvent());
|
bloc.add(FlushSensorInitialEvent());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user