Prevent schedule send UI from showing in story send flow.
This commit is contained in:
parent
4ad233c6d1
commit
dae69744c2
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class MediaReviewFragment : Fragment(R.layout.v2_media_review_fragment), Schedul
|
||||||
performSend()
|
performSend()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (FeatureFlags.scheduledMessageSends()) {
|
if (FeatureFlags.scheduledMessageSends() && !sharedViewModel.isStory()) {
|
||||||
sendButton.setOnLongClickListener {
|
sendButton.setOnLongClickListener {
|
||||||
ScheduleMessageContextMenu.show(it, (requireView() as ViewGroup)) { time: Long ->
|
ScheduleMessageContextMenu.show(it, (requireView() as ViewGroup)) { time: Long ->
|
||||||
if (time == -1L) {
|
if (time == -1L) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue