mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 17:47:28 +00:00
Fixed routines bug where it threw 404 because of a developer error.
This commit is contained in:
@ -11,6 +11,7 @@ class RoutinesExpansionTile extends StatelessWidget {
|
||||
required this.emptyRoutinesMessage,
|
||||
required this.routines,
|
||||
required this.loadingStates,
|
||||
required this.disablePlayButton,
|
||||
this.loadingSceneId,
|
||||
});
|
||||
final String title;
|
||||
@ -18,6 +19,7 @@ class RoutinesExpansionTile extends StatelessWidget {
|
||||
final List<ScenesModel> routines;
|
||||
final Map<String, bool> loadingStates;
|
||||
final String? loadingSceneId;
|
||||
final bool disablePlayButton;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@ -43,7 +45,7 @@ class RoutinesExpansionTile extends StatelessWidget {
|
||||
child: SceneGrid(
|
||||
scenes: routines,
|
||||
loadingSceneId: loadingSceneId,
|
||||
disablePlayButton: false,
|
||||
disablePlayButton: disablePlayButton,
|
||||
loadingStates: loadingStates,
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user