mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-06-02 13:29:41 +00:00
Fix editor progress bar
This commit is contained in:
parent
e857439a02
commit
66754ecc7c
|
@ -41,11 +41,9 @@ public extension StatusEditor {
|
|||
@Bindable var focusedSEVM = focusedSEVM
|
||||
|
||||
NavigationStack {
|
||||
ZStack(alignment: .top) {
|
||||
ScrollView {
|
||||
VStackLayout(spacing: 0) {
|
||||
if mainSEVM.isPosting {
|
||||
ProgressView(value: mainSEVM.postingProgress, total: 100.0)
|
||||
}
|
||||
EditorView(
|
||||
viewModel: mainSEVM,
|
||||
followUpSEVMs: $followUpSEVMs,
|
||||
|
@ -143,6 +141,10 @@ public extension StatusEditor {
|
|||
}
|
||||
}
|
||||
}
|
||||
if mainSEVM.isPosting {
|
||||
ProgressView(value: mainSEVM.postingProgress, total: 100.0)
|
||||
}
|
||||
}
|
||||
}
|
||||
.sheet(item: $editingMediaContainer) { container in
|
||||
StatusEditor.MediaEditView(viewModel: focusedSEVM, container: container)
|
||||
|
|
Loading…
Reference in a new issue