Skip to content

Commit

Permalink
Release 1.3.2 (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Apr 9, 2024
1 parent c57fee4 commit 978ba5a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/src/app/master_detail_page.dart
Expand Up @@ -31,6 +31,7 @@ class MasterDetailPage extends ConsumerWidget {
navigatorKey: navigatorKey,
onSelected: (value) => libraryModel.setIndex(value ?? 0),
appBar: HeaderBar(
backgroundColor: getSideBarColor(context.t),
style: YaruTitleBarStyle.undecorated,
title: const Text('MusicPod'),
actions: [
Expand Down
2 changes: 0 additions & 2 deletions lib/src/app/musicpod.dart
Expand Up @@ -34,7 +34,6 @@ class YaruMusicPodApp extends StatelessWidget {
behavior: SnackBarBehavior.floating,
actionTextColor: yaru.theme?.colorScheme.primary,
),
cardColor: getCardColor(yaru.theme?.colorScheme),
),
darkTheme: yaru.darkTheme?.copyWith(
actionIconTheme: ActionIconThemeData(
Expand All @@ -51,7 +50,6 @@ class YaruMusicPodApp extends StatelessWidget {
behavior: SnackBarBehavior.floating,
actionTextColor: yaru.theme?.colorScheme.primary,
),
cardColor: getCardColor(yaru.theme?.colorScheme),
),
);
},
Expand Down
5 changes: 4 additions & 1 deletion lib/src/theme.dart
Expand Up @@ -44,7 +44,10 @@ ThemeData m3Theme({
);
}

Color? getCardColor(ColorScheme? colorScheme) => colorScheme?.onSurface.scale(
Color? getCardColor(
ColorScheme? colorScheme,
) =>
colorScheme?.onSurface.scale(
lightness: colorScheme.isLight == true ? 0.85 : -0.8,
saturation: -0.9,
);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,6 +1,6 @@
name: musicpod
description: Ubuntu music, radio and podcast player.
version: 1.3.1
version: 1.3.2

publish_to: "none"

Expand Down

0 comments on commit 978ba5a

Please sign in to comment.