mirror of https://github.com/M66B/FairEmail.git
Prevent NPE
This commit is contained in:
parent
bb9a62d40e
commit
4177a4e467
|
@ -2415,7 +2415,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
if (scrolling && !rvMessage.canScrollVertically(-1)) {
|
||||
if (scrolling &&
|
||||
rvMessage != null &&
|
||||
!rvMessage.canScrollVertically(-1)) {
|
||||
scrolling = false;
|
||||
updateCompose();
|
||||
updateExpanded();
|
||||
|
|
Loading…
Reference in New Issue