Add empty trailing to center page title on desktop

This commit is contained in:
Godwin Asuquo 2023-02-10 20:19:13 +02:00
parent 32d2bf2c85
commit eb3b246437
2 changed files with 6 additions and 0 deletions

View file

@ -29,6 +29,9 @@ class NewWalletPage extends BasePage {
@override
String get title => S.current.new_wallet;
@override
Widget trailing(BuildContext context) => SizedBox.shrink();
@override
Widget body(BuildContext context) => WalletNameForm(
_walletNewVM, currentTheme.type == ThemeType.dark ? walletNameImage : walletNameLightImage);

View file

@ -18,6 +18,9 @@ class NewWalletTypePage extends BasePage {
@override
String get title => S.current.wallet_list_restore_wallet;
@override
Widget trailing(BuildContext context) => SizedBox.shrink();
@override
Widget body(BuildContext context) => WalletTypeForm(
onTypeSelected: onTypeSelected,