|
|
@ -5969,9 +5969,8 @@ public class FragmentMessages extends FragmentBase
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|
snackbar.dismiss();
|
|
|
|
snackbar.dismiss();
|
|
|
|
if (checked)
|
|
|
|
prefs.edit().putBoolean("outlook_checked", true).apply();
|
|
|
|
prefs.edit().putBoolean("outlook_checked", true).apply();
|
|
|
|
if (!checked)
|
|
|
|
else
|
|
|
|
|
|
|
|
prefs.edit().putLong("outlook_last_checked", now).apply();
|
|
|
|
prefs.edit().putLong("outlook_last_checked", now).apply();
|
|
|
|
Helper.viewFAQ(v.getContext(), 14);
|
|
|
|
Helper.viewFAQ(v.getContext(), 14);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -5979,9 +5978,8 @@ public class FragmentMessages extends FragmentBase
|
|
|
|
snackbar.addCallback(new Snackbar.Callback() {
|
|
|
|
snackbar.addCallback(new Snackbar.Callback() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onDismissed(Snackbar transientBottomBar, int event) {
|
|
|
|
public void onDismissed(Snackbar transientBottomBar, int event) {
|
|
|
|
if (checked)
|
|
|
|
prefs.edit().putBoolean("outlook_checked", true).apply();
|
|
|
|
prefs.edit().putBoolean("outlook_checked", true).apply();
|
|
|
|
if (!checked)
|
|
|
|
else
|
|
|
|
|
|
|
|
prefs.edit().putLong("outlook_last_checked", now).apply();
|
|
|
|
prefs.edit().putLong("outlook_last_checked", now).apply();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|