Skip to content

Commit 8173718

Browse files
committed
feat(account): move settings tile to account page app bar
- Removed settings tile from the account page list - Added settings icon button to the account page app bar - Updated onPressed action to navigate to settings page
1 parent b10fb79 commit 8173718

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/account/view/account_page.dart

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ class AccountPage extends StatelessWidget {
3434
onPressed: () => context.pop(),
3535
),
3636
title: Text(l10n.bottomNavAccountLabel),
37+
actions: [
38+
IconButton(
39+
icon: const Icon(Icons.settings_outlined),
40+
onPressed: () => context.pushNamed(Routes.settingsName),
41+
),
42+
],
3743
),
3844
body: SingleChildScrollView(
3945
child: Padding(
@@ -176,11 +182,6 @@ class AccountPage extends StatelessWidget {
176182
onTap: () => context.pushNamed(Routes.accountSavedFiltersName),
177183
),
178184
const Divider(),
179-
buildTile(
180-
icon: Icons.settings_outlined,
181-
title: l10n.accountSettingsTile,
182-
onTap: () => context.pushNamed(Routes.settingsName),
183-
),
184185
],
185186
);
186187
}

0 commit comments

Comments
 (0)