Composer: Fix swipe to dismiss

This commit is contained in:
Thomas Ricouard 2023-02-21 18:50:45 +01:00
parent e758df04a8
commit 263ecbb715
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ public struct StatusEditorView: View {
}
}
}
.interactiveDismissDisabled(!viewModel.shouldDisplayDismissWarning)
.interactiveDismissDisabled(viewModel.shouldDisplayDismissWarning)
.onChange(of: appAccounts.currentClient) { newClient in
if viewModel.mode.isInShareExtension {
currentAccount.setClient(client: newClient)