Skip to content

Commit

Permalink
fix(mobile): make sure date locale is inititialized for some languages (
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 authored Nov 9, 2024
1 parent 97dbe32 commit 6b49104
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mobile/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import 'package:flutter_displaymode/flutter_displaymode.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:immich_mobile/extensions/build_context_extensions.dart';
import 'package:immich_mobile/utils/download.dart';
import 'package:intl/date_symbol_data_local.dart';
import 'package:timezone/data/latest.dart';
import 'package:immich_mobile/constants/locales.dart';
import 'package:immich_mobile/services/background.service.dart';
Expand Down Expand Up @@ -56,6 +57,7 @@ void main() async {

Future<void> initApp() async {
await EasyLocalization.ensureInitialized();
await initializeDateFormatting();

if (kReleaseMode && Platform.isAndroid) {
try {
Expand Down

0 comments on commit 6b49104

Please sign in to comment.