Suppress multiple clicks on tap to add.
This commit is contained in:
parent
b0b1029d0f
commit
e9160c2449
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,7 @@ class TextStoryPostCreationFragment : Fragment(R.layout.stories_text_post_creati
|
|||
|
||||
storyTextPostView.setTextViewClickListener {
|
||||
storyTextPostView.hidePostContent()
|
||||
storyTextPostView.isEnabled = false
|
||||
TextStoryPostTextEntryFragment().show(childFragmentManager, null)
|
||||
}
|
||||
|
||||
|
@ -123,6 +124,7 @@ class TextStoryPostCreationFragment : Fragment(R.layout.stories_text_post_creati
|
|||
override fun onTextStoryPostTextEntryDismissed() {
|
||||
storyTextPostView.postDelayed(resources.getInteger(R.integer.text_entry_exit_duration).toLong()) {
|
||||
storyTextPostView.showPostContent()
|
||||
storyTextPostView.isEnabled = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue