Fixed empty tabs

This commit is contained in:
Agnieszka C 2021-11-29 23:31:11 +01:00
parent 792584be70
commit 6c68564cce
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
currentHash += it.getHashWithoutPrivatePhoto()
}
if (currentHash != lastHashCode || skipHashComparing) {
if (currentHash != lastHashCode || skipHashComparing || filtered.size == 0) {
skipHashComparing = false
lastHashCode = currentHash
activity?.runOnUiThread {