mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
more AppConfig usage
This commit is contained in:
parent
5fd54240bc
commit
73faa11272
1 changed files with 5 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue