mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-09 13:22:48 +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) {
|
.overlay(alignment: .bottomTrailing) {
|
||||||
makeAltMarker(container: container)
|
makeAltMarker(container: container)
|
||||||
}
|
}
|
||||||
@ -194,11 +199,6 @@ extension StatusEditor {
|
|||||||
placeholderView
|
placeholderView
|
||||||
Text("status.editor.error.upload")
|
Text("status.editor.error.upload")
|
||||||
}
|
}
|
||||||
.alert("alert.error", isPresented: $isErrorDisplayed) {
|
|
||||||
Button("Ok", action: {})
|
|
||||||
} message: {
|
|
||||||
Text(error.error ?? "")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private func makeAltMarker(container: MediaContainer) -> some View {
|
private func makeAltMarker(container: MediaContainer) -> some View {
|
||||||
|
Loading…
Reference in New Issue
Block a user