Update flush sensor logic to trigger initial events when value is null or true,

This commit is contained in:
mohammad
2025-05-20 15:59:17 +03:00
parent bfb0cb1dc1
commit eaecd4996e

View File

@ -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());
}