mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
14fa14ea91
commit
75f25cd434
|
@ -4922,7 +4922,8 @@ public class FragmentMessages extends FragmentBase
|
|||
|
||||
@Override
|
||||
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
|
||||
if ("pro".equals(key) || "banner_hidden".equals(key)) {
|
||||
if (grpSupport != null &&
|
||||
("pro".equals(key) || "banner_hidden".equals(key))) {
|
||||
boolean pro = ActivityBilling.isPro(getContext());
|
||||
long banner_hidden = prefs.getLong("banner_hidden", 0);
|
||||
grpSupport.setVisibility(
|
||||
|
|
Loading…
Reference in New Issue