From 17fbe5403cee9469924bd783ae211fe318097745 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 28 Jun 2024 11:21:38 +0930 Subject: [PATCH] Remove open url modal in New Message Bottom Sheet --- .../conversation/start/newmessage/NewMessageFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/start/newmessage/NewMessageFragment.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/start/newmessage/NewMessageFragment.kt index 5f0801fe8c..a0a3df84eb 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/start/newmessage/NewMessageFragment.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/start/newmessage/NewMessageFragment.kt @@ -16,7 +16,7 @@ import org.session.libsession.utilities.recipients.Recipient import org.thoughtcrime.securesms.conversation.start.StartConversationDelegate import org.thoughtcrime.securesms.conversation.v2.ConversationActivityV2 import org.thoughtcrime.securesms.dependencies.DatabaseComponent -import org.thoughtcrime.securesms.showOpenUrlDialog +import org.thoughtcrime.securesms.openUrl import org.thoughtcrime.securesms.ui.createThemedComposeView class NewMessageFragment : Fragment() { @@ -45,7 +45,7 @@ class NewMessageFragment : Fragment() { viewModel, onClose = { delegate.onDialogClosePressed() }, onBack = { delegate.onDialogBackPressed() }, - onHelp = { requireContext().showOpenUrlDialog("https://sessionapp.zendesk.com/hc/en-us/articles/4439132747033-How-do-Session-ID-usernames-work") } + onHelp = { requireContext().openUrl("https://sessionapp.zendesk.com/hc/en-us/articles/4439132747033-How-do-Session-ID-usernames-work") } ) }