diff --git a/README.md b/README.md index 0dcca3cd..27e17a07 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ --- - Spotube Desktop Spotube Mobile + Spotube Desktop Spotube Mobile diff --git a/assets/spotube-screenshot.jpg b/assets/spotube-screenshot.jpg deleted file mode 100644 index f48ddaee..00000000 Binary files a/assets/spotube-screenshot.jpg and /dev/null differ diff --git a/assets/spotube-screenshot.png b/assets/spotube-screenshot.png new file mode 100644 index 00000000..44567ae6 Binary files /dev/null and b/assets/spotube-screenshot.png differ diff --git a/lib/collections/assets.gen.dart b/lib/collections/assets.gen.dart index fdccd7ca..f720ac9f 100644 --- a/lib/collections/assets.gen.dart +++ b/lib/collections/assets.gen.dart @@ -45,7 +45,7 @@ class Assets { static const AssetGenImage spotubeLogoAndroid12 = AssetGenImage('assets/spotube-logo_android12.png'); static const AssetGenImage spotubeScreenshot = - AssetGenImage('assets/spotube-screenshot.jpg'); + AssetGenImage('assets/spotube-screenshot.png'); static const AssetGenImage spotubeBanner = AssetGenImage('assets/spotube_banner.png'); static const AssetGenImage success = AssetGenImage('assets/success.png'); diff --git a/lib/provider/proxy_playlist/proxy_playlist_provider.dart b/lib/provider/proxy_playlist/proxy_playlist_provider.dart index 0982d3cb..6dab7b74 100644 --- a/lib/provider/proxy_playlist/proxy_playlist_provider.dart +++ b/lib/provider/proxy_playlist/proxy_playlist_provider.dart @@ -90,9 +90,7 @@ class ProxyPlaylistNotifier extends PersistedStateNotifier isFetchingSegments = false; - if (preferences.albumColorSync) { - updatePalette(); - } + updatePalette(); }); audioPlayer.shuffledStream.listen((event) { @@ -483,7 +481,12 @@ class ProxyPlaylistNotifier extends PersistedStateNotifier await audioPlayer.stop(); } - Future updatePalette() { + Future updatePalette() async { + final palette = ref.read(paletteProvider); + if (!preferences.albumColorSync) { + if (palette != null) ref.read(paletteProvider.notifier).state = null; + return; + } return Future.microtask(() async { final activeTrack = state.tracks.elementAtOrNull(state.active ?? 0); diff --git a/linux/com.github.KRTirtho.Spotube.appdata.xml b/linux/com.github.KRTirtho.Spotube.appdata.xml index 9a9f94e5..2cb37bab 100644 --- a/linux/com.github.KRTirtho.Spotube.appdata.xml +++ b/linux/com.github.KRTirtho.Spotube.appdata.xml @@ -39,7 +39,7 @@ - https://rawcdn.githack.com/KRTirtho/spotube/ebb00cdcb68c98ee785144568a5af1690ec7e6a3/assets/spotube-screenshot.jpg + https://rawcdn.githack.com/KRTirtho/spotube/ebb00cdcb68c98ee785144568a5af1690ec7e6a3/assets/spotube-screenshot.png com.github.KRTirtho.Spotube.desktop diff --git a/website/posts/getting-started-with-spotube.md b/website/posts/getting-started-with-spotube.md index 81a8712e..e0da2574 100644 --- a/website/posts/getting-started-with-spotube.md +++ b/website/posts/getting-started-with-spotube.md @@ -1,6 +1,6 @@ --- title: Getting Started With Spotube -cover_image: https://github.com/KRTirtho/spotube/raw/master/assets/spotube-screenshot.jpg +cover_image: https://github.com/KRTirtho/spotube/raw/master/assets/spotube-screenshot.png date: "July 16, 2022" author: Kingkor Roy Tirtho author_avatar_url: https://avatars.githubusercontent.com/u/61944859?v=4