mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
Fix null safety issue by adding null check for functionOn in schedule dialog helper
This commit is contained in:
@ -96,7 +96,7 @@ class ScheduleDialogHelper {
|
||||
setState(() => selectedDays[i] = v);
|
||||
}),
|
||||
const SizedBox(height: 16),
|
||||
_buildFunctionSwitch(ctx, functionOn, (v) {
|
||||
_buildFunctionSwitch(ctx, functionOn!, (v) {
|
||||
setState(() => functionOn = v);
|
||||
}),
|
||||
],
|
||||
|
Reference in New Issue
Block a user