Skip to content

Commit 6c68564

Browse files
committed
Fixed empty tabs
1 parent 792584b commit 6c68564

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)