Skip to content

Commit

Permalink
After the upgrade (2.20.5), Altme locks users out #3260
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Feb 8, 2025
1 parent 9925586 commit b4e3896
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
11 changes: 8 additions & 3 deletions lib/dashboard/profile/cubit/profile_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,14 @@ class ProfileCubit extends Cubit<ProfileState> {
}
final oidc4VCIStackJsonString =
await secureStorageProvider.get(SecureStorageKeys.oidc4VCIStack);
final oidc4VCIStack = Oidc4VCIStack.fromJson(
json.decode(oidc4VCIStackJsonString ?? '[]') as Map<String, dynamic>,
);
late Oidc4VCIStack oidc4VCIStack;
if (oidc4VCIStackJsonString == null) {
oidc4VCIStack = Oidc4VCIStack();
} else {
oidc4VCIStack = Oidc4VCIStack.fromJson(
json.decode(oidc4VCIStackJsonString) as Map<String, dynamic>,
);
}

String? enterpriseWalletName;

Expand Down

0 comments on commit b4e3896

Please sign in to comment.