Skip to content

Commit

Permalink
version bump; small theming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz-weber committed Jan 5, 2023
1 parent d41bae0 commit b02bf80
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
12 changes: 8 additions & 4 deletions src/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -44,7 +43,7 @@ Future<void> 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([
Expand All @@ -56,8 +55,13 @@ class MyApp extends StatelessWidget {
theme: theme(),
initialRoute: '/',
routes: {
'/': (context) => const RootPage(),
'/playing': (context) => const CurrentlyPlayingPage(),
'/': (context) => AnnotatedRegion<SystemUiOverlayStyle>(
child: const RootPage(),
value: SystemUiOverlayStyle.dark.copyWith(
systemNavigationBarColor: DARK1,
statusBarIconBrightness: Brightness.light,
),
),
},
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/presentation/theming.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ThemeData theme() => ThemeData(
toggleableActiveColor: LIGHT1,
elevatedButtonTheme: ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
primary: LIGHT1,
backgroundColor: LIGHT1,
),
),
progressIndicatorTheme: const ProgressIndicatorThemeData(color: LIGHT2),
Expand Down
11 changes: 7 additions & 4 deletions src/lib/presentation/widgets/custom_modal_bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b02bf80

Please sign in to comment.