mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-04-15 10:27:41 +02:00
Fixed empty tabs
This commit is contained in:
parent
792584be70
commit
6c68564cce
@ -132,7 +132,7 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
|
|||||||
currentHash += it.getHashWithoutPrivatePhoto()
|
currentHash += it.getHashWithoutPrivatePhoto()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentHash != lastHashCode || skipHashComparing) {
|
if (currentHash != lastHashCode || skipHashComparing || filtered.size == 0) {
|
||||||
skipHashComparing = false
|
skipHashComparing = false
|
||||||
lastHashCode = currentHash
|
lastHashCode = currentHash
|
||||||
activity?.runOnUiThread {
|
activity?.runOnUiThread {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user