Dismiss status editor on not signed in
This commit is contained in:
parent
9209258f4c
commit
5db6d2d991
|
@ -34,6 +34,9 @@ public struct StatusEditorView: View {
|
|||
.onAppear {
|
||||
viewModel.client = client
|
||||
viewModel.prepareStatusText()
|
||||
if !client.isAuth {
|
||||
dismiss()
|
||||
}
|
||||
}
|
||||
.padding(.horizontal, DS.Constants.layoutPadding)
|
||||
.navigationTitle(viewModel.mode.title)
|
||||
|
|
Loading…
Reference in New Issue