bug fixes

This commit is contained in:
Abdullah Alassaf
2024-11-27 13:40:08 +03:00
parent 75aa2042c1
commit abccaeabf8
3 changed files with 186 additions and 89 deletions

View File

@ -26,7 +26,7 @@ class _ScenesAndAutomationsState extends State<ScenesAndAutomations> {
Widget build(BuildContext context) {
return BlocBuilder<RoutineBloc, RoutineState>(
builder: (context, state) {
if (state.scenes.isNotEmpty || state.automations.isNotEmpty) {
if (!state.isLoading) {
var scenes = [...state.scenes, ...state.automations];
return Wrap(
spacing: 10,