Skip to content

Commit

Permalink
v4.2.3+402303
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmer committed Dec 7, 2023
1 parent e1aff58 commit 8f99ab7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/utils/push_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class PushProvider {
}

// BACKGROUND HANDLING
@pragma('vm:entry-point')
static Future<void> _backgroundHandler(RemoteMessage remoteMessage) async {
Logger.info('Background message received.', name: 'push_provider.dart#_backgroundHandler');
await SecureTokenRepository.protect(() async {
Expand Down
2 changes: 2 additions & 0 deletions lib/views/splash_screen/splash_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class _SplashScreenState extends ConsumerState<SplashScreen> {

Future<void> _init() async {
await Future.delayed(_splashScreenDuration + _splashScreenDelay * 2);
await ref.read(settingsProvider.notifier).isLoading;
await ref.read(tokenProvider.notifier).isLoading;
final isFirstRun = ref.read(settingsProvider).isFirstRun;
final ConsumerStatefulWidget nextView;
if (isFirstRun) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ publish_to: none
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 4.2.3+402302 # TODO Set the right version number
version: 4.2.3+402303 # TODO Set the right version number
# version: major.minor.build + 2x major|2x minor|3x build
# version: version number + build number (optional)
# android: build-name + versionCode
Expand Down

0 comments on commit 8f99ab7

Please sign in to comment.