mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix branch statement preventing edited titles from being saved
This commit is contained in:
parent
75d82e39d8
commit
9fd075d223
1 changed files with 1 additions and 2 deletions
|
|
@ -366,8 +366,6 @@ public struct ShareExtensionView: View {
|
|||
}
|
||||
|
||||
func submitEditTitle() {
|
||||
viewState = .mainView
|
||||
|
||||
if viewState == .editingTitle {
|
||||
if let linkedItem = viewModel.linkedItem {
|
||||
viewModel.submitTitleEdit(dataService: viewModel.services.dataService,
|
||||
|
|
@ -376,6 +374,7 @@ public struct ShareExtensionView: View {
|
|||
description: linkedItem.description)
|
||||
}
|
||||
}
|
||||
viewState = .mainView
|
||||
}
|
||||
|
||||
public var body: some View {
|
||||
|
|
|
|||
Loading…
Reference in a new issue