mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 03:05:26 +00:00
Suppress multiple clicks on tap to add.
This commit is contained in:
committed by
Greyson Parrelli
parent
b0b1029d0f
commit
e9160c2449
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user