Skip to content

Commit

Permalink
Add semantics to unfollow dialog buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
amugofjava committed Jul 21, 2024
1 parent 760d812 commit f3b1756
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions lib/ui/podcast/podcast_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -660,20 +660,16 @@ class FollowButton extends StatelessWidget {
content: Text(L.of(context)!.unsubscribe_message),
actions: <Widget>[
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,
Expand Down

0 comments on commit f3b1756

Please sign in to comment.