mirror of
https://github.com/stonega/tsacdop
synced 2025-02-10 16:40:44 +01:00
Merge branch 'master' of https://github.com/stonega/tsacdop
This commit is contained in:
commit
0fdf9aac9d
@ -20,7 +20,6 @@ import '../state/podcast_group.dart';
|
||||
import '../state/refresh_podcast.dart';
|
||||
import '../state/setting_state.dart';
|
||||
import '../type/episodebrief.dart';
|
||||
import '../type/playlist.dart';
|
||||
import '../util/extension_helper.dart';
|
||||
import '../widgets/audiopanel.dart';
|
||||
import '../widgets/custom_popupmenu.dart';
|
||||
|
@ -740,7 +740,7 @@ class ShowEpisode extends StatelessWidget {
|
||||
color: context.accentColor,
|
||||
),
|
||||
onPressed: () {
|
||||
if (data != episodes[index]) {
|
||||
if (data.item1 != episodes[index]) {
|
||||
audio.episodeLoad(episodes[index]);
|
||||
}
|
||||
}),
|
||||
|
@ -60,7 +60,6 @@ class _PlaylistPageState extends State<PlaylistPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final s = context.s;
|
||||
var audio = Provider.of<AudioPlayerNotifier>(context, listen: false);
|
||||
return AnnotatedRegion<SystemUiOverlayStyle>(
|
||||
value: SystemUiOverlayStyle(
|
||||
systemNavigationBarIconBrightness:
|
||||
|
@ -255,7 +255,6 @@ class _Queue extends StatefulWidget {
|
||||
class __QueueState extends State<_Queue> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final s = context.s;
|
||||
return Selector<AudioPlayerNotifier, Tuple3<Playlist, bool, EpisodeBrief>>(
|
||||
selector: (_, audio) =>
|
||||
Tuple3(audio.playlist, audio.playerRunning, audio.episode),
|
||||
|
Loading…
x
Reference in New Issue
Block a user