mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-04 04:06:34 +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>());
|
return MaterialPageRoute<void>(builder: (_) => getIt.get<Modify2FAPage>());
|
||||||
|
|
||||||
case Routes.homeSettings:
|
case Routes.homeSettings:
|
||||||
return CupertinoPageRoute<void>(builder: (_) => getIt.get<HomeSettingsPage>());
|
return CupertinoPageRoute<void>(
|
||||||
|
builder: (_) => getIt.get<HomeSettingsPage>(param1: settings.arguments),
|
||||||
|
);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return MaterialPageRoute<void>(
|
return MaterialPageRoute<void>(
|
||||||
|
|
|
@ -33,7 +33,8 @@ class HomeSettingsPage extends BasePage {
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
TextFormField(
|
Expanded(
|
||||||
|
child: TextFormField(
|
||||||
controller: _searchController,
|
controller: _searchController,
|
||||||
style: TextStyle(color: Theme.of(context).primaryTextTheme.titleLarge!.color!),
|
style: TextStyle(color: Theme.of(context).primaryTextTheme.titleLarge!.color!),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
|
@ -53,6 +54,7 @@ class HomeSettingsPage extends BasePage {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () {},
|
onPressed: () {},
|
||||||
style: IconButton.styleFrom(
|
style: IconButton.styleFrom(
|
||||||
|
|
Loading…
Reference in a new issue