Skip to content

Commit

Permalink
fix: typo (jesusrp98#146)
Browse files Browse the repository at this point in the history
rename motificationsCubit to notificationsCubit
  • Loading branch information
rmlzy committed Nov 8, 2021
1 parent 1aaac22 commit e797fae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Future<void> main() async {
Bloc.observer = CherryBlocObserver();

final httpClient = Dio();
final motificationsCubit = kIsWeb
final notificationsCubit = kIsWeb
? null
: NotificationsCubit(
FlutterLocalNotificationsPlugin(),
Expand All @@ -41,10 +41,10 @@ Future<void> main() async {
iOS: IOSInitializationSettings(),
),
);
await motificationsCubit?.init();
await notificationsCubit?.init();

runApp(CherryApp(
notificationsCubit: motificationsCubit,
notificationsCubit: notificationsCubit,
vehiclesRepository: VehiclesRepository(
VehiclesService(httpClient),
),
Expand Down

0 comments on commit e797fae

Please sign in to comment.