From 263ecbb7152982501affcb3daaa9dd2675af6dc4 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Tue, 21 Feb 2023 18:50:45 +0100 Subject: [PATCH] Composer: Fix swipe to dismiss --- Packages/Status/Sources/Status/Editor/StatusEditorView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Status/Sources/Status/Editor/StatusEditorView.swift b/Packages/Status/Sources/Status/Editor/StatusEditorView.swift index cf5ed8de..ad021bf3 100644 --- a/Packages/Status/Sources/Status/Editor/StatusEditorView.swift +++ b/Packages/Status/Sources/Status/Editor/StatusEditorView.swift @@ -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)