Skip to content

Commit

Permalink
Fix audio & glowtip actions with triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Aug 24, 2024
1 parent 90129a1 commit e8cdcde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Backend/sensors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ abstract class TriggerDefinition extends ChangeNotifier implements Comparable<Tr
return;
}
final List<BaseAction> moveActions = allActionsMapped.where((element) => !const [ActionCategory.glowtip, ActionCategory.audio].contains(element.actionCategory)).toList();
final BuiltList<BaseAction> glowActions = ref.read(getAllActionsForCategoryProvider(ActionCategory.glowtip));
final BuiltList<BaseAction> audioActions = ref.read(getAllActionsForCategoryProvider(ActionCategory.audio));
final List<BaseAction> glowActions = allActionsMapped.where((element) => const [ActionCategory.glowtip].contains(element.actionCategory)).toList();
final List<BaseAction> audioActions = allActionsMapped.where((element) => const [ActionCategory.audio].contains(element.actionCategory)).toList();

BaseAction? baseAction;
List<BaseAction> actionsToRun = [];
Expand Down

0 comments on commit e8cdcde

Please sign in to comment.