Prevent crash

This commit is contained in:
M66B 2019-05-23 11:53:24 +02:00
parent 8a7d72e624
commit 320b8c1a26
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,7 @@ public class FragmentMessages extends FragmentBase {
}
private void updateSwipeRefresh() {
swipeRefresh.setEnabled(pull && !swiping && selectionTracker == null || !selectionTracker.hasSelection());
swipeRefresh.setEnabled(pull && !swiping && (selectionTracker == null || !selectionTracker.hasSelection()));
}
private void scrollToVisibleItem(LinearLayoutManager llm, boolean bottom) {