mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-26 21:34:57 +00:00
working on automation
This commit is contained in:
@ -18,7 +18,7 @@ class SettingHelper {
|
||||
return showDialog<String>(
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
final isAutomation = context.read<RoutineBloc>().isAutomation;
|
||||
final isAutomation = context.read<RoutineBloc>().state.isAutomation;
|
||||
return BlocProvider(
|
||||
create: (_) =>
|
||||
SettingBloc()..add(InitialEvent(selectedIcon: iconId ?? '')),
|
||||
|
||||
Reference in New Issue
Block a user