mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-08-26 08:59:40 +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),
|
||||
),
|
||||
);
|
||||
if (val == null) {
|
||||
if (val == null || val == true) {
|
||||
bloc.add(FlushSensorInitialDeviceInfo());
|
||||
bloc.add(FlushSensorInitialEvent());
|
||||
}
|
||||
|
Reference in New Issue
Block a user