mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed new call / new chat room fragments never visible due to empty contact list
This commit is contained in:
parent
f855426a9f
commit
5847e7d2c2
3 changed files with 3 additions and 3 deletions
|
|
@ -131,7 +131,7 @@ abstract class AbstractNewTransferCallFragment : GenericCallFragment() {
|
|||
val count = adapter.itemCount
|
||||
adapter.submitList(it)
|
||||
|
||||
if (count == 0 && it.isNotEmpty()) {
|
||||
if (count == 0) {
|
||||
(view.parent as? ViewGroup)?.doOnPreDraw {
|
||||
startPostponedEnterTransition()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ class StartConversationFragment : GenericAddressPickerFragment() {
|
|||
val count = adapter.itemCount
|
||||
adapter.submitList(it)
|
||||
|
||||
if (count == 0 && it.isNotEmpty()) {
|
||||
if (count == 0) {
|
||||
(view.parent as? ViewGroup)?.doOnPreDraw {
|
||||
startPostponedEnterTransition()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ class StartCallFragment : GenericAddressPickerFragment() {
|
|||
val count = adapter.itemCount
|
||||
adapter.submitList(it)
|
||||
|
||||
if (count == 0 && it.isNotEmpty()) {
|
||||
if (count == 0) {
|
||||
(view.parent as? ViewGroup)?.doOnPreDraw {
|
||||
startPostponedEnterTransition()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue