Skip to content
Open
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
9 changes: 9 additions & 0 deletions android/app/src/main/res/drawable/ic_shuffle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M10.59,9.17L5.41,4 4,5.41l5.17,5.17 1.42,-1.41zM14.5,4l2.04,2.04L4,18.59 5.41,20 17.96,7.46 20,9.5L20,4zM14.83,13.41l-1.41,1.41 3.13,3.13L14.5,20L20,20v-5.5l-2.04,2.04z" />
</vector>
13 changes: 13 additions & 0 deletions android/app/src/main/res/drawable/ic_shuffle_on.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M10.59,9.17L5.41,4 4,5.41l5.17,5.17 1.42,-1.41zM14.5,4l2.04,2.04L4,18.59 5.41,20 17.96,7.46 20,9.5L20,4zM14.83,13.41l-1.41,1.41 3.13,3.13L14.5,20L20,20v-5.5l-2.04,2.04z" />
<!-- "on" indicator dot below the glyph -->
<path
android:fillColor="#FFFFFFFF"
android:pathData="M10.6,21 a1.4,1.4 0 1,0 2.8,0 a1.4,1.4 0 1,0 -2.8,0z" />
</vector>
2 changes: 1 addition & 1 deletion lib/services/audio_services/audio_services.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AudioServices with WidgetsBindingObserver {
) async {
final mobile = kIsMobile || kIsMacOS || kIsLinux
? await AudioService.init(
builder: () => MobileAudioService(playback),
builder: () => MobileAudioService(ref, playback),
config: AudioServiceConfig(
androidNotificationChannelId: switch ((
kIsLinux,
Expand Down
Loading