mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
8a7d72e624
commit
320b8c1a26
|
@ -769,7 +769,7 @@ public class FragmentMessages extends FragmentBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateSwipeRefresh() {
|
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) {
|
private void scrollToVisibleItem(LinearLayoutManager llm, boolean bottom) {
|
||||||
|
|
Loading…
Reference in New Issue