From dd1a540186dfb6e65ea0f4c7f2673e21593a2b3d Mon Sep 17 00:00:00 2001 From: Ben Hills Date: Thu, 18 Apr 2024 16:54:33 +0100 Subject: [PATCH] Reinstate deleted iOS menu item. --- lib/ui/podcast/podcast_context_menu.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/ui/podcast/podcast_context_menu.dart b/lib/ui/podcast/podcast_context_menu.dart index 58e5a430..365f9f6d 100644 --- a/lib/ui/podcast/podcast_context_menu.dart +++ b/lib/ui/podcast/podcast_context_menu.dart @@ -150,6 +150,14 @@ class _CupertinoContextMenu extends StatelessWidget { }, child: Text(L.of(context)!.mark_episodes_played_label), ), + CupertinoActionSheetAction( + isDefaultAction: true, + onPressed: () { + bloc.podcastEvent(PodcastEvent.clearAllPlayed); + Navigator.pop(context, 'Cancel'); + }, + child: Text(L.of(context)!.mark_episodes_not_played_label), + ), CupertinoActionSheetAction( isDefaultAction: true, onPressed: () {