mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 08:29:24 +00:00
Prevent crash
This commit is contained in:
parent
14fa14ea91
commit
75f25cd434
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue