From f3b17561f6215d009582438c6e668a2a73baaf2e Mon Sep 17 00:00:00 2001 From: Ben Hills Date: Sun, 21 Jul 2024 17:01:46 +0100 Subject: [PATCH] Add semantics to unfollow dialog buttons. --- lib/ui/podcast/podcast_details.dart | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/ui/podcast/podcast_details.dart b/lib/ui/podcast/podcast_details.dart index bc184a89..189b3c82 100644 --- a/lib/ui/podcast/podcast_details.dart +++ b/lib/ui/podcast/podcast_details.dart @@ -660,20 +660,16 @@ class FollowButton extends StatelessWidget { content: Text(L.of(context)!.unsubscribe_message), actions: [ BasicDialogAction( - title: ExcludeSemantics( - child: ActionText( - L.of(context)!.cancel_button_label, - ), + title: ActionText( + L.of(context)!.cancel_button_label, ), onPressed: () { Navigator.pop(context); }, ), BasicDialogAction( - title: ExcludeSemantics( - child: ActionText( - L.of(context)!.unsubscribe_button_label, - ), + title: ActionText( + L.of(context)!.unsubscribe_button_label, ), iosIsDefaultAction: true, iosIsDestructiveAction: true,