Prevent crash

pull/156/head
M66B 6 years ago
parent 8a7d72e624
commit 320b8c1a26

@ -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) {

Loading…
Cancel
Save