Add clear history button (fix #205)

This commit is contained in:
Arkadiusz Fal
2022-08-21 17:39:06 +02:00
parent 4ea44a5267
commit e139d98bd7
2 changed files with 25 additions and 9 deletions

View File

@@ -255,6 +255,11 @@ final class NavigationModel: ObservableObject {
presentingAlert = true
}
func presentAlert(_ alert: Alert) {
self.alert = alert
presentingAlert = true
}
func presentShareSheet(_ url: URL) {
shareURL = url
presentingShareSheet = true