Skip to content

Commit 7da9dab

Browse files
committed
refactor(account): update navigation to use specific route name
- Replace generic authentication route with specific account linking route - Simplify onPressed logic in ListTile widget
1 parent ddeeec7 commit 7da9dab

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/account/view/account_page.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,7 @@ class AccountPage extends StatelessWidget {
113113
textStyle: textTheme.labelLarge,
114114
),
115115
onPressed: () {
116-
context.goNamed(
117-
Routes.authenticationName,
118-
queryParameters: {'context': 'linking'},
119-
);
116+
context.goNamed(Routes.accountLinkingName);
120117
},
121118
),
122119
);

0 commit comments

Comments
 (0)