Prevent crash

pull/170/head
M66B 6 years ago
parent 5a9013e0c7
commit 74f2aa0e57

@ -3018,6 +3018,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
model.getIds(getContext(), getViewLifecycleOwner(), new Observer<List<Long>>() {
@Override
public void onChanged(List<Long> ids) {
new Handler().post(new Runnable() {
@Override
public void run() {
selectionTracker.clearSelection();
for (long id : ids)
selectionTracker.select(id);
@ -3029,6 +3032,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
});
}
});
}
private void onMenuEmpty(String type) {
Bundle aargs = new Bundle();

Loading…
Cancel
Save