mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-17 02:25:31 +00:00
Pulled latest changes
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:syncrow_web/pages/common/custom_dialog.dart';
|
||||
import 'package:syncrow_web/pages/routiens/bloc/effective_period/effect_period_bloc.dart';
|
||||
import 'package:syncrow_web/pages/routiens/bloc/effective_period/effect_period_state.dart';
|
||||
import 'package:syncrow_web/pages/routiens/bloc/routine_bloc/routine_bloc.dart';
|
||||
@ -169,8 +168,9 @@ class SettingHelper {
|
||||
fontSize: 14)),
|
||||
],
|
||||
),
|
||||
// if (context.read<RoutineBloc>().state.isAutomation)
|
||||
const DeleteSceneWidget()
|
||||
if (context.read<RoutineBloc>().state.isUpdate ??
|
||||
false)
|
||||
const DeleteSceneWidget()
|
||||
],
|
||||
)),
|
||||
],
|
||||
@ -288,8 +288,9 @@ class SettingHelper {
|
||||
fontSize: 14)),
|
||||
],
|
||||
),
|
||||
// if (context.read<RoutineBloc>().state.isAutomation)
|
||||
const DeleteSceneWidget()
|
||||
if (context.read<RoutineBloc>().state.isUpdate ??
|
||||
false)
|
||||
const DeleteSceneWidget()
|
||||
],
|
||||
)),
|
||||
],
|
||||
|
Reference in New Issue
Block a user