Remove unused statements.
This commit is contained in:
parent
2e14835bd9
commit
48b1d88fc9
|
@ -610,7 +610,6 @@ class __PlaylistsState extends State<_Playlists> {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final s = context.s;
|
||||
return Selector<AudioPlayerNotifier, List<Playlist>>(
|
||||
selector: (_, audio) => audio.playlists,
|
||||
builder: (_, data, __) {
|
||||
|
|
|
@ -29,7 +29,6 @@ class _PlaylistDetailState extends State<PlaylistDetail> {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final s = context.s;
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
leading: IconButton(
|
||||
|
|
|
@ -195,7 +195,7 @@ class _PodcastManageState extends State<PodcastManage>
|
|||
),
|
||||
body: WillPopScope(
|
||||
onWillPop: () async {
|
||||
await context.read<GroupList>().clearOrderChanged();
|
||||
context.read<GroupList>().clearOrderChanged();
|
||||
return true;
|
||||
},
|
||||
child: Consumer<GroupList>(
|
||||
|
|
|
@ -1038,7 +1038,6 @@ class __GpodderInfoState extends State<_GpodderInfo> {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final s = context.s;
|
||||
return AnnotatedRegion<SystemUiOverlayStyle>(
|
||||
value: SystemUiOverlayStyle(
|
||||
statusBarIconBrightness: Brightness.dark,
|
||||
|
|
|
@ -434,7 +434,7 @@ class GroupList extends ChangeNotifier {
|
|||
}
|
||||
_groups = [
|
||||
for (var group in _groups)
|
||||
if (group.id != podcastGroup) group
|
||||
if (group.id != podcastGroup.id) group
|
||||
];
|
||||
notifyListeners();
|
||||
await _saveGroup();
|
||||
|
|
|
@ -29,7 +29,6 @@ class _DismissibleContainerState extends State<DismissibleContainer> {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final s = context.s;
|
||||
final c = widget.episode.backgroudColor(context);
|
||||
return AnimatedContainer(
|
||||
duration: Duration(milliseconds: 300),
|
||||
curve: Curves.easeInSine,
|
||||
|
|
Loading…
Reference in New Issue