Merge pull request #744 from Aga-C/fix-empty-tabs

Fixed empty tabs
This commit is contained in:
Tibor Kaputa 2021-12-07 14:16:05 +01:00 committed by GitHub
commit f581bdd79e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {