diff options
author | Lisandro Pérez Meyer <lpmeyer@ics.com> | 2023-12-14 13:24:42 -0300 |
---|---|---|
committer | Lisandro Pérez Meyer <lpmeyer@ics.com> | 2023-12-14 13:46:12 -0300 |
commit | dda6c8502a3fa1e50654c4cca934b4b846bbca98 (patch) | |
tree | fae219109b6fa5155ad8440354324d9522954498 /lib/data/data_providers/app_provider.dart | |
parent | 71d46d03850653c0229c678de197c6f94fceb477 (diff) |
Hybrid animation from env variable
This commit changes central hybrid animation on dashboard screen.
For now we can set from env randomHybridAnimation variable.
If true animation should be switching randomly. If false just
setting proper hybrid mode based on speed and RPM value.
Also increase childLocks touch target
Original from: Dominik Wawrzonek <dwawrzonek@ics.com>
Bug-AGL: SPEC-4971
Change-Id: I71f09c63bd1bfeda174f92feafc58019c23d07cb
Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/data/data_providers/app_provider.dart')
-rw-r--r-- | lib/data/data_providers/app_provider.dart | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/data/data_providers/app_provider.dart b/lib/data/data_providers/app_provider.dart index f6fb1ad..fb0a447 100644 --- a/lib/data/data_providers/app_provider.dart +++ b/lib/data/data_providers/app_provider.dart @@ -54,7 +54,8 @@ final usersProvider = StateNotifierProvider<UsersNotifier, Users>((ref) { return UsersNotifier(Users.initial()); }); -final hybridtateProvider = StateNotifierProvider<HybridNotifier, Hybrid>((ref) { +final hybridStateProvider = + StateNotifierProvider<HybridNotifier, Hybrid>((ref) { return HybridNotifier(const Hybrid.initial()); }); @@ -62,3 +63,4 @@ final currentTimeProvider = StateNotifierProvider<CurrentTimeNotifier, DateTime>((ref) { return CurrentTimeNotifier(); }); + |