mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
chore: Update flutter to 3.27 and updated packages
This commit is contained in:
parent
e607a6d19b
commit
a817d40463
24 changed files with 3848 additions and 5051 deletions
|
|
@ -149,7 +149,7 @@ class MediaControlsWrapper extends BaseAudioHandler {
|
|||
playbackState.add(playbackState.value.copyWith(
|
||||
playing: value.playing,
|
||||
));
|
||||
smtc?.setPlaybackStatus(value.playing ? PlaybackStatus.Playing : PlaybackStatus.Paused);
|
||||
smtc?.setPlaybackStatus(value.playing ? PlaybackStatus.playing : PlaybackStatus.paused);
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
@ -212,7 +212,7 @@ class MediaControlsWrapper extends BaseAudioHandler {
|
|||
);
|
||||
|
||||
smtc?.enableSmtc();
|
||||
smtc?.setPlaybackStatus(PlaybackStatus.Playing);
|
||||
smtc?.setPlaybackStatus(PlaybackStatus.playing);
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
@ -225,7 +225,7 @@ class MediaControlsWrapper extends BaseAudioHandler {
|
|||
|
||||
ref.read(playBackModel)?.playbackStopped(position ?? Duration.zero, totalDuration, ref);
|
||||
ref.read(mediaPlaybackProvider.notifier).update((state) => state.copyWith(position: Duration.zero));
|
||||
smtc?.setPlaybackStatus(PlaybackStatus.Stopped);
|
||||
smtc?.setPlaybackStatus(PlaybackStatus.stopped);
|
||||
smtc?.clearMetadata();
|
||||
smtc?.disableSmtc();
|
||||
playbackState.add(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue