Skip to content

Commit

Permalink
[iOS] - Allow user to cancel deleting all history (uplift to 1.72.x) (#…
Browse files Browse the repository at this point in the history
…26075)

Uplift of #25652 (squashed) to beta
  • Loading branch information
brave-builds authored Oct 18, 2024
1 parent a60fcb0 commit d4e3c59
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,13 @@ struct HistoryView: View {
Alert(
title: Text(Strings.History.historyClearAlertTitle),
message: Text(Strings.History.historyClearAlertDescription),
dismissButton: .destructive(
primaryButton: .destructive(
Text(Strings.History.historyClearActionTitle),
action: {
model.deleteAll()
}
)
),
secondaryButton: .cancel()
)
}
}
Expand Down

0 comments on commit d4e3c59

Please sign in to comment.