mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 20:09:24 +00:00
Fixed loading of setup pin screen from welcome screen for restore case. Renamed 'Next' to 'Restore' for confirm button on restore wallet screen. Removed 'Bitcoin' from welcome screen.
This commit is contained in:
parent
082a5f0b6c
commit
e2c6cb6f4b
4 changed files with 5 additions and 8 deletions
|
@ -97,7 +97,7 @@ class S implements WidgetsLocalizations {
|
|||
String get faq => "FAQ";
|
||||
String get fetching => "Fetching";
|
||||
String get filters => "Filter";
|
||||
String get first_wallet_text => "Awesome wallet for Monero and Bitcoin";
|
||||
String get first_wallet_text => "Awesome wallet for Monero";
|
||||
String get full_balance => "Full Balance";
|
||||
String get hidden_balance => "Hidden Balance";
|
||||
String get id => "ID: ";
|
||||
|
|
|
@ -137,8 +137,8 @@ Route<dynamic> createRoute(RouteSettings settings) {
|
|||
case Routes.restoreWalletOptionsFromWelcome:
|
||||
return CupertinoPageRoute<void>(
|
||||
builder: (_) => getIt.get<SetupPinCodePage>(
|
||||
param1: (BuildContext context, dynamic _) =>
|
||||
Navigator.pushNamed(context, Routes.restoreWallet)),
|
||||
param1: (PinCodeState<PinCodeWidget> context, dynamic _) =>
|
||||
Navigator.pushNamed(context.context, Routes.restoreWallet)),
|
||||
fullscreenDialog: true);
|
||||
|
||||
case Routes.seed:
|
||||
|
|
|
@ -47,9 +47,6 @@ class WalletRestorePage extends BasePage {
|
|||
Theme.of(context).primaryTextTheme.title.color),
|
||||
));
|
||||
|
||||
@override
|
||||
String get title => S.current.restore_title_from_seed;
|
||||
|
||||
final WalletRestoreViewModel walletRestoreViewModel;
|
||||
final PageController _controller;
|
||||
final List<Widget> _pages;
|
||||
|
@ -105,7 +102,7 @@ class WalletRestorePage extends BasePage {
|
|||
return LoadingPrimaryButton(
|
||||
onPressed: () =>
|
||||
walletRestoreViewModel.create(options: _credentials()),
|
||||
text: S.of(context).seed_language_next,
|
||||
text: S.of(context).restore_recover,
|
||||
color: Colors.green,
|
||||
textColor: Colors.white,
|
||||
isLoading: walletRestoreViewModel.state is IsExecutingState);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"welcome" : "Welcome to",
|
||||
"cake_wallet" : "Cake Wallet",
|
||||
"first_wallet_text" : "Awesome wallet for Monero and Bitcoin",
|
||||
"first_wallet_text" : "Awesome wallet for Monero",
|
||||
"please_make_selection" : "Please make selection below to create or recover your wallet.",
|
||||
"create_new" : "Create New Wallet",
|
||||
"restore_wallet" : "Restore Wallet",
|
||||
|
|
Loading…
Reference in a new issue