rewards ui, state and command

This commit is contained in:
2026-03-10 16:08:33 +01:00
parent 2b3169b3e5
commit 5ee7852ee7
15 changed files with 567 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ late final GoRouter appRouter;
void configureAppRouter() {
appRouter = GoRouter(
navigatorKey: rootNavigatorKey,
initialLocation: AppRoutes.legacyOnboarding,
initialLocation: AppRoutes.controlPanel,
debugLogDiagnostics: true,
routes: [
GoRoute(
@@ -108,6 +108,11 @@ void configureAppRouter() {
name: 'locate_device',
pageBuilder: LocateDeviceBuilder().buildPage,
),
GoRoute(
path: 'rewards',
name: 'rewards',
pageBuilder: RewardsBuilder().buildPage,
),
],
),
],