more AppConfig usage

This commit is contained in:
sneurlax 2024-05-15 17:20:14 -05:00
parent 5fd54240bc
commit 73faa11272

View file

@ -586,8 +586,8 @@ class _MaterialAppWithThemeState extends ConsumerState<MaterialAppWithTheme>
routeOnSuccessArguments: encrypted, routeOnSuccessArguments: encrypted,
biometricsCancelButtonString: "CANCEL", biometricsCancelButtonString: "CANCEL",
biometricsLocalizedReason: biometricsLocalizedReason:
"Authenticate to restore Stack Wallet backup", "Authenticate to restore ${AppConfig.appName} backup",
biometricsAuthenticationTitle: "Restore Stack backup", biometricsAuthenticationTitle: "Restore ${AppConfig.prefix} backup",
), ),
settings: const RouteSettings(name: "/swbrestorelockscreen"), settings: const RouteSettings(name: "/swbrestorelockscreen"),
), ),
@ -762,9 +762,10 @@ class _MaterialAppWithThemeState extends ConsumerState<MaterialAppWithTheme>
isInitialAppLogin: true, isInitialAppLogin: true,
routeOnSuccess: HomeView.routeName, routeOnSuccess: HomeView.routeName,
routeOnSuccessArguments: startupWalletId, routeOnSuccessArguments: startupWalletId,
biometricsAuthenticationTitle: "Unlock Stack", biometricsAuthenticationTitle:
"Unlock ${AppConfig.prefix}",
biometricsLocalizedReason: biometricsLocalizedReason:
"Unlock your stack wallet using biometrics", "Unlock your ${AppConfig.appName} using biometrics",
biometricsCancelButtonString: "Cancel", biometricsCancelButtonString: "Cancel",
); );
} else { } else {