Skip to content

Commit

Permalink
fix: don't wait expose title online in play (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier authored Oct 21, 2024
1 parent 26242bf commit 89c8ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/expose/expose_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ExposeService {
Stream<bool> get isDiscordConnectedStream =>
_discordRPC?.isConnectedStream ?? Stream.value(false);

Future<void>? exposeTitleOnline({
Future<void> exposeTitleOnline({
required String line1,
required String line2,
required String line3,
Expand Down
2 changes: 1 addition & 1 deletion lib/player/player_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class PlayerService {
}
_setMediaControlsMetaData(audio: audio!);
_loadColorAndSetRemoteUrl();
await _exposeService.exposeTitleOnline(
_exposeService.exposeTitleOnline(
line1: audio?.title ?? '',
line2: audio?.artist ?? '',
line3: audio?.album ?? '',
Expand Down

0 comments on commit 89c8ac9

Please sign in to comment.