WT 1.1.14 Tutorial, Sports, New goals
This commit is contained in:
@@ -61,6 +61,11 @@ class SettingsBloc extends Bloc<SettingsEvent, SettingsState> with Logging {
|
||||
}
|
||||
Cache().initBadges();
|
||||
yield SettingsReady();
|
||||
} else if (event is SettingsActivateTutorial) {
|
||||
yield SettingsLoading();
|
||||
Cache().activitiesDone[event.activity.toStr()] = false;
|
||||
print(" ----------------- Setting ${event.activity} to false");
|
||||
yield SettingsReady();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -31,3 +31,11 @@ class SettingsSetHardware extends SettingsEvent {
|
||||
@override
|
||||
List<Object> get props => [this.hasHardware];
|
||||
}
|
||||
|
||||
class SettingsActivateTutorial extends SettingsEvent {
|
||||
final ActivityDone activity;
|
||||
const SettingsActivateTutorial({required this.activity});
|
||||
|
||||
@override
|
||||
List<Object> get props => [this.activity];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user