diff --git a/lib/reducers/timer_reducer.dart b/lib/reducers/timer_reducer.dart index 3500ca6..9f6124a 100644 --- a/lib/reducers/timer_reducer.dart +++ b/lib/reducers/timer_reducer.dart @@ -19,7 +19,9 @@ List _setEmptyTimers(List timers, TimersNotLoadedAction action) { } List _addTimer(List timers, AddTimerAction action) { - return List.from(timers, growable: false)..add(action.timer); + return List.from(timers) + ..add(action.timer) + ..toList(growable: false); } List _updateTimer(List timers, UpdateTimerAction action) {