mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-08 21:11:44 +01:00
Fix #2116
This commit is contained in:
parent
b98a90ced6
commit
6f3f8e9dd0
@ -106,6 +106,11 @@ extension StatusEditor {
|
||||
}
|
||||
}
|
||||
}
|
||||
.alert("alert.error", isPresented: $isErrorDisplayed) {
|
||||
Button("Ok", action: {})
|
||||
} message: {
|
||||
Text(container.error?.localizedDescription ?? "")
|
||||
}
|
||||
.overlay(alignment: .bottomTrailing) {
|
||||
makeAltMarker(container: container)
|
||||
}
|
||||
@ -194,11 +199,6 @@ extension StatusEditor {
|
||||
placeholderView
|
||||
Text("status.editor.error.upload")
|
||||
}
|
||||
.alert("alert.error", isPresented: $isErrorDisplayed) {
|
||||
Button("Ok", action: {})
|
||||
} message: {
|
||||
Text(error.error ?? "")
|
||||
}
|
||||
}
|
||||
|
||||
private func makeAltMarker(container: MediaContainer) -> some View {
|
||||
|
Loading…
Reference in New Issue
Block a user