mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 02:39:55 +01:00
Fix text story keyboard in text stories.
This commit is contained in:
@@ -71,7 +71,7 @@ class TextStoryPostCreationFragment : Fragment(R.layout.stories_text_post_creati
|
||||
|
||||
_binding = StoriesTextPostCreationFragmentBinding.bind(view)
|
||||
|
||||
binding.storyTextPost.showCloseButton()
|
||||
binding.storyTextPost.enableCreationMode()
|
||||
|
||||
lifecycleDisposable.bindTo(viewLifecycleOwner)
|
||||
lifecycleDisposable += sharedViewModel.hudCommands.subscribe {
|
||||
@@ -137,7 +137,7 @@ class TextStoryPostCreationFragment : Fragment(R.layout.stories_text_post_creati
|
||||
binding.send.isClickable = false
|
||||
binding.sendInProgressIndicator.visible = true
|
||||
|
||||
binding.storyTextPost.hideCloseButton()
|
||||
binding.storyTextPost.disableCreationMode()
|
||||
|
||||
val contacts = (sharedViewModel.destination.getRecipientSearchKeyList() + sharedViewModel.destination.getRecipientSearchKey())
|
||||
.filterIsInstance(ContactSearchKey::class.java)
|
||||
@@ -174,7 +174,7 @@ class TextStoryPostCreationFragment : Fragment(R.layout.stories_text_post_creati
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
binding.storyTextPost.showCloseButton()
|
||||
binding.storyTextPost.enableCreationMode()
|
||||
requireActivity().requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user