Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions workout-logger/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import 'genui/a2ui.dart';
import 'theme/a2ui_app_theme.dart';
import 'screens/home_screen.dart';
import 'screens/onboarding_screen.dart';
import 'screens/widgets/rf_widgets.dart';

/// Resolved once in main() before runApp(). Read lazily by
/// WorkoutLoggerApp._storageService's static initializer, which only runs
Expand Down Expand Up @@ -219,6 +220,9 @@ class WorkoutLoggerApp extends StatelessWidget {
title: 'Workout Logger',
debugShowCheckedModeBanner: false,
theme: AppTheme.darkTheme,
// Above the Navigator, so every route feeds the ambient glow.
builder: (context, child) =>
AmbientMotionScope(child: child ?? const SizedBox.shrink()),
home: const AppInitializer(),
),
),
Expand Down
Loading