mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
push tab to run and handling automation
This commit is contained in:
@ -43,6 +43,7 @@ class RoutineSearchAndButtons extends StatelessWidget {
|
||||
boxDecoration: containerWhiteDecoration,
|
||||
elevation: 0,
|
||||
borderRadius: 15,
|
||||
isRequired: true,
|
||||
width: 450,
|
||||
onChanged: (value) {
|
||||
context
|
||||
@ -61,10 +62,8 @@ class RoutineSearchAndButtons extends StatelessWidget {
|
||||
onPressed: () async {
|
||||
final result =
|
||||
await SettingHelper.showSettingDialog(
|
||||
context: context,
|
||||
isAutomation: context
|
||||
.read<RoutineBloc>()
|
||||
.isAutomation);
|
||||
context: context,
|
||||
);
|
||||
if (result != null) {
|
||||
context
|
||||
.read<RoutineBloc>()
|
||||
|
Reference in New Issue
Block a user