aboutsummaryrefslogtreecommitdiffstats
path: root/lib/data/data_providers/app_provider.dart
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-20 17:47:26 -0300
committerLisandro Perez Meyer <lpmeyer@ics.com>2023-11-21 12:16:40 +0000
commitf533746fd7b07d71a1a3cbec8944056c0d329e84 (patch)
tree58044a004c0ed38d22cae9d6d2edb031a6f29389 /lib/data/data_providers/app_provider.dart
parentae9ad191316ea506633c19975a7eb2861e8d17ec (diff)
Date time updates
Original from Sabin Sajeevan <ssajeevan@ics.com> Bug-AGL: SPEC-4971 Change-Id: I7a961e57715fdbf8b05f54dfcf8e56159cadd068 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.dart9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/data/data_providers/app_provider.dart b/lib/data/data_providers/app_provider.dart
index 80416a4..f6fb1ad 100644
--- a/lib/data/data_providers/app_provider.dart
+++ b/lib/data/data_providers/app_provider.dart
@@ -1,11 +1,9 @@
-import 'package:flutter_ics_homescreen/data/data_providers/datetime_notifier.dart';
import 'package:flutter_ics_homescreen/data/data_providers/hybrid_notifier.dart';
import 'package:flutter_ics_homescreen/data/data_providers/signal_notifier.dart';
import 'package:flutter_ics_homescreen/data/data_providers/time_notifier.dart';
import 'package:flutter_ics_homescreen/data/data_providers/units_notifier.dart';
import 'package:flutter_ics_homescreen/data/data_providers/audio_notifier.dart';
import 'package:flutter_ics_homescreen/data/data_providers/users_notifier.dart';
-import 'package:flutter_ics_homescreen/data/models/date_time.dart';
import 'package:flutter_ics_homescreen/export.dart';
import '../models/users.dart';
@@ -33,7 +31,8 @@ enum AppState {
tempUnit,
clock,
date,
- time
+ time,
+ year
}
final appProvider = StateProvider<AppState>((ref) => AppState.splash);
@@ -55,10 +54,6 @@ final usersProvider = StateNotifierProvider<UsersNotifier, Users>((ref) {
return UsersNotifier(Users.initial());
});
-final dateTimeStateProvider =
- StateNotifierProvider<DateTimeNotifier, DateAndTime>((ref) {
- return DateTimeNotifier(DateAndTime.initial());
-});
final hybridtateProvider = StateNotifierProvider<HybridNotifier, Hybrid>((ref) {
return HybridNotifier(const Hybrid.initial());
});