diff --git a/src/lib/main.dart b/src/lib/main.dart index cd19420..60d9d8d 100644 --- a/src/lib/main.dart +++ b/src/lib/main.dart @@ -8,7 +8,6 @@ import 'package:get_it/get_it.dart'; import 'domain/actors/persistence_actor.dart'; import 'injection_container.dart'; -import 'presentation/pages/currently_playing.dart'; import 'presentation/pages/home_page.dart'; import 'presentation/pages/library_page.dart'; import 'presentation/pages/search_page.dart'; @@ -44,7 +43,7 @@ Future main() async { } class MyApp extends StatelessWidget { - // This widget is the root of your application. + // This widget is the root of the application. @override Widget build(BuildContext context) { SystemChrome.setPreferredOrientations([ @@ -56,8 +55,13 @@ class MyApp extends StatelessWidget { theme: theme(), initialRoute: '/', routes: { - '/': (context) => const RootPage(), - '/playing': (context) => const CurrentlyPlayingPage(), + '/': (context) => AnnotatedRegion( + child: const RootPage(), + value: SystemUiOverlayStyle.dark.copyWith( + systemNavigationBarColor: DARK1, + statusBarIconBrightness: Brightness.light, + ), + ), }, ); } diff --git a/src/lib/presentation/theming.dart b/src/lib/presentation/theming.dart index 0374ea1..c46160a 100644 --- a/src/lib/presentation/theming.dart +++ b/src/lib/presentation/theming.dart @@ -36,7 +36,7 @@ ThemeData theme() => ThemeData( toggleableActiveColor: LIGHT1, elevatedButtonTheme: ElevatedButtonThemeData( style: ElevatedButton.styleFrom( - primary: LIGHT1, + backgroundColor: LIGHT1, ), ), progressIndicatorTheme: const ProgressIndicatorThemeData(color: LIGHT2), diff --git a/src/lib/presentation/widgets/custom_modal_bottom_sheet.dart b/src/lib/presentation/widgets/custom_modal_bottom_sheet.dart index f199181..899ef23 100644 --- a/src/lib/presentation/widgets/custom_modal_bottom_sheet.dart +++ b/src/lib/presentation/widgets/custom_modal_bottom_sheet.dart @@ -12,12 +12,15 @@ class MyBottomSheet extends StatelessWidget { final int count = 2 * widgets.length - 1; return Padding( - padding: const EdgeInsets.all(12.0), + padding: const EdgeInsets.all(0.0), child: Container( clipBehavior: Clip.antiAlias, - decoration: BoxDecoration( - borderRadius: BorderRadius.circular(8.0), - boxShadow: const [ + decoration: const BoxDecoration( + borderRadius: BorderRadius.only( + topLeft: Radius.circular(8.0), + topRight: Radius.circular(8.0), + ), + boxShadow: [ BoxShadow( color: Colors.black26, blurRadius: 8, diff --git a/src/pubspec.yaml b/src/pubspec.yaml index b941bc5..25cb857 100644 --- a/src/pubspec.yaml +++ b/src/pubspec.yaml @@ -2,7 +2,7 @@ name: mucke description: music player publish_to: none -version: 1.0.3+4 +version: 1.0.4+5 environment: sdk: ">=2.17.0 <3.0.0"