mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Reapply query after contact refresh.
This commit is contained in:
@@ -170,7 +170,7 @@ public abstract class ContactSelectionActivity extends PassphraseRequiredActivit
|
||||
ContactSelectionActivity activity = this.activity.get();
|
||||
|
||||
if (activity != null && !activity.isFinishing()) {
|
||||
activity.contactsFragment.resetQueryFilter();
|
||||
activity.contactsFragment.onDataRefreshed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -556,9 +556,11 @@ public final class ContactSelectionListFragment extends LoggingFragment {
|
||||
|
||||
public void resetQueryFilter() {
|
||||
setQueryFilter(null);
|
||||
onDataRefreshed();
|
||||
}
|
||||
|
||||
public void onDataRefreshed() {
|
||||
this.resetPositionOnCommit = true;
|
||||
|
||||
swipeRefresh.setRefreshing(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user