mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-25 12:06:05 +00:00
Fix initial UI
This commit is contained in:
parent
2259a5e6fd
commit
1c3b433309
2 changed files with 22 additions and 18 deletions
|
@ -578,7 +578,9 @@ Route<dynamic> createRoute(RouteSettings settings) {
|
|||
return MaterialPageRoute<void>(builder: (_) => getIt.get<Modify2FAPage>());
|
||||
|
||||
case Routes.homeSettings:
|
||||
return CupertinoPageRoute<void>(builder: (_) => getIt.get<HomeSettingsPage>());
|
||||
return CupertinoPageRoute<void>(
|
||||
builder: (_) => getIt.get<HomeSettingsPage>(param1: settings.arguments),
|
||||
);
|
||||
|
||||
default:
|
||||
return MaterialPageRoute<void>(
|
||||
|
|
|
@ -33,7 +33,8 @@ class HomeSettingsPage extends BasePage {
|
|||
),
|
||||
Row(
|
||||
children: [
|
||||
TextFormField(
|
||||
Expanded(
|
||||
child: TextFormField(
|
||||
controller: _searchController,
|
||||
style: TextStyle(color: Theme.of(context).primaryTextTheme.titleLarge!.color!),
|
||||
decoration: InputDecoration(
|
||||
|
@ -53,6 +54,7 @@ class HomeSettingsPage extends BasePage {
|
|||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () {},
|
||||
style: IconButton.styleFrom(
|
||||
|
|
Loading…
Reference in a new issue