Handle keyboard resize when creating a text story.
This commit is contained in:
parent
6497ec8098
commit
ab8d5474e0
2 changed files with 3 additions and 8 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue