fix crash for non-github/debug builds
This commit is contained in:
parent
66f8cc5d18
commit
327aef0271
|
@ -81,7 +81,7 @@ public class SettingsAboutAppFragment extends BaseSettingsFragment<Void>{
|
|||
@Override
|
||||
protected void onHidden(){
|
||||
super.onHidden();
|
||||
GlobalUserPreferences.enablePreReleases=enablePreReleasesItem.checked;
|
||||
GlobalUserPreferences.enablePreReleases=enablePreReleasesItem!=null && enablePreReleasesItem.checked;
|
||||
GlobalUserPreferences.save();
|
||||
if(timelineCacheCleared) getActivity().recreate();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue