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