Skip to content

Commit e4605f3

Browse files
committed
fix: Switch to settings screen when gear is clicked
1 parent ede91ab commit e4605f3

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/core/router/app_router.dart

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ GoRouter appRouter(Ref ref) {
5353

5454
final onSettings = state.matchedLocation.startsWith('/settings');
5555
if (!configured && !onSettings) return '/settings';
56-
if (configured && onSettings &&
57-
state.matchedLocation == '/settings' &&
58-
!settingsAsync.isLoading) {
59-
return '/queue';
60-
}
6156
return null;
6257
},
6358
routes: [

0 commit comments

Comments
 (0)