Skip to content

Commit

Permalink
fix(linux): OS Media control not working for Flatpak #1627
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed Jul 9, 2024
1 parent d22bba5 commit a6e13ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/services/audio_services/audio_services.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ class AudioServices {
final mobile = kIsMobile || kIsMacOS || kIsLinux
? await AudioService.init(
builder: () => MobileAudioService(playback),
config: const AudioServiceConfig(
androidNotificationChannelId: 'com.krtirtho.Spotube',
config: AudioServiceConfig(
androidNotificationChannelId:
kIsLinux ? 'spotube' : 'com.krtirtho.Spotube',
androidNotificationChannelName: 'Spotube',
androidNotificationOngoing: true,
),
Expand Down

0 comments on commit a6e13ff

Please sign in to comment.