mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Handle keyboard resize when creating a text story.
This commit is contained in:
committed by
Greyson Parrelli
parent
6497ec8098
commit
ab8d5474e0
@@ -26,6 +26,7 @@ import org.thoughtcrime.securesms.sharing.ShareSelectionAdapter
|
||||
import org.thoughtcrime.securesms.sharing.ShareSelectionMappingModel
|
||||
import org.thoughtcrime.securesms.stories.Stories
|
||||
import org.thoughtcrime.securesms.stories.dialogs.StoryDialogs
|
||||
import org.thoughtcrime.securesms.stories.settings.create.CreateStoryFlowDialogFragment
|
||||
import org.thoughtcrime.securesms.stories.settings.create.CreateStoryWithViewersFragment
|
||||
import org.thoughtcrime.securesms.stories.settings.hide.HideStoryFromDialogFragment
|
||||
import org.thoughtcrime.securesms.util.BottomSheetUtil
|
||||
@@ -179,7 +180,7 @@ class TextStoryPostSendFragment : Fragment(R.layout.stories_send_text_post_fragm
|
||||
}
|
||||
|
||||
override fun onNewStoryClicked() {
|
||||
findNavController().navigate(R.id.action_textStoryPostSendFragment_to_newStory)
|
||||
CreateStoryFlowDialogFragment().show(parentFragmentManager, CreateStoryWithViewersFragment.REQUEST_KEY)
|
||||
}
|
||||
|
||||
override fun onGroupStoryClicked() {
|
||||
|
||||
@@ -53,13 +53,7 @@
|
||||
android:id="@+id/textStoryPostSendFragment"
|
||||
android:name="org.thoughtcrime.securesms.mediasend.v2.text.send.TextStoryPostSendFragment"
|
||||
android:label="text_story_post_send_fragment"
|
||||
tools:layout="@layout/stories_send_text_post_fragment">
|
||||
<action
|
||||
android:id="@+id/action_textStoryPostSendFragment_to_newStory"
|
||||
app:destination="@+id/new_story" />
|
||||
</fragment>
|
||||
|
||||
<include app:graph="@navigation/new_story" />
|
||||
tools:layout="@layout/stories_send_text_post_fragment" />
|
||||
|
||||
<action
|
||||
android:id="@+id/action_directly_to_mediaCaptureFragment"
|
||||
|
||||
Reference in New Issue
Block a user