Add release note CTA action to open Calls tab.

This commit is contained in:
Cody Henthorne
2024-10-22 12:05:27 -04:00
committed by Greyson Parrelli
parent 55464736c3
commit 1b2b4a869c
6 changed files with 53 additions and 8 deletions

View File

@@ -295,6 +295,7 @@ import org.thoughtcrime.securesms.stickers.StickerManagementActivity
import org.thoughtcrime.securesms.stickers.StickerPackInstallEvent
import org.thoughtcrime.securesms.stickers.StickerPackPreviewActivity
import org.thoughtcrime.securesms.stories.StoryViewerArgs
import org.thoughtcrime.securesms.stories.tabs.ConversationListTab
import org.thoughtcrime.securesms.stories.viewer.StoryViewerActivity
import org.thoughtcrime.securesms.util.BottomSheetUtil
import org.thoughtcrime.securesms.util.BubbleUtil
@@ -3018,6 +3019,8 @@ class ConversationFragment :
checkoutLauncher.launch(InAppPaymentType.ONE_TIME_GIFT)
} else if ("username_edit" == action) {
startActivity(EditProfileActivity.getIntentForUsernameEdit(requireContext()))
} else if ("calls_tab" == action) {
startActivity(MainActivity.clearTopAndOpenTab(requireContext(), ConversationListTab.CALLS))
}
}