Workaround for crash

This commit is contained in:
Pierrot 2019-04-09 06:54:57 +02:00
parent d1af8b7fa5
commit c04acecb23

View file

@ -7366,7 +7366,9 @@ public class Dashboard extends ResourceWrapperActivity implements OnLongClickLis
@Override
public void onSystemBarsSizeChanged() {
configureSystemBarsPadding(mScreen.getCurrentRootPage().config);
}
Page page = mScreen.getCurrentRootPage();
if(page != null) {
configureSystemBarsPadding(page.config);
} }
}
}