Skip to content

Commit f581bdd

Browse files
authored
Merge pull request #744 from Aga-C/fix-empty-tabs
Fixed empty tabs
2 parents 057b3e7 + 6c68564 commit f581bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
132132
currentHash += it.getHashWithoutPrivatePhoto()
133133
}
134134

135-
if (currentHash != lastHashCode || skipHashComparing) {
135+
if (currentHash != lastHashCode || skipHashComparing || filtered.size == 0) {
136136
skipHashComparing = false
137137
lastHashCode = currentHash
138138
activity?.runOnUiThread {

0 commit comments

Comments
 (0)