From b2aff4902dd3fe9dc8ec019fb17e9e8a7c8d50ed Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 18 Jul 2025 18:01:25 +0200 Subject: [PATCH] Fix Flutter code quality issues --- moneymgr_mobile/lib/services/router/router.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/moneymgr_mobile/lib/services/router/router.dart b/moneymgr_mobile/lib/services/router/router.dart index 624a7b8..09451cd 100644 --- a/moneymgr_mobile/lib/services/router/router.dart +++ b/moneymgr_mobile/lib/services/router/router.dart @@ -75,20 +75,20 @@ GoRouter router(Ref ref) { debugLogDiagnostics: true, initialLocation: prefs.startOnScansListScreen() ? scansPage : capturePage, routes: [ - GoRoute(path: homePage, builder: (_, __) => const Scaffold()), - GoRoute(path: authPage, builder: (_, __) => const LoginScreen()), - GoRoute(path: qrAuthPath, builder: (_, __) => const QrAuthScreen()), + GoRoute(path: homePage, builder: (_, _) => const Scaffold()), + GoRoute(path: authPage, builder: (_, _) => const LoginScreen()), + GoRoute(path: qrAuthPath, builder: (_, _) => const QrAuthScreen()), GoRoute( path: manualAuthPage, - builder: (_, __) => const ManualAuthScreen(), + builder: (_, _) => const ManualAuthScreen(), ), - GoRoute(path: settingsPage, builder: (_, __) => const SettingsScreen()), + GoRoute(path: settingsPage, builder: (_, _) => const SettingsScreen()), // Configuration for the bottom navigation bar routes. The routes themselves // should be defined in [navigationItems]. Modification to this [ShellRoute] // config is rarely needed. ShellRoute( - builder: (_, __, child) => child, + builder: (_, _, child) => child, routes: [ for (final (index, item) in navigationItems.indexed) GoRoute(