mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Cancelling forward event (if any) when leaving fragment
This commit is contained in:
parent
b4a754db53
commit
c2e1333be1
1 changed files with 6 additions and 0 deletions
|
|
@ -168,6 +168,12 @@ class ConversationForwardMessageFragment : SlidingPaneChildFragment() {
|
|||
|
||||
numberOrAddressPickerDialog?.dismiss()
|
||||
numberOrAddressPickerDialog = null
|
||||
|
||||
sharedViewModel.messageToForwardEvent.value?.consume {
|
||||
Log.w(
|
||||
"$TAG Fragment is pausing, consuming forward event to prevent it from being used later"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
private fun showNumberOrAddressPickerDialog(list: ArrayList<ContactNumberOrAddressModel>) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue