1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Simplification

This commit is contained in:
M66B 2022-03-18 20:35:50 +01:00
parent ce722644b7
commit 1ef4f1be11

View file

@ -4639,12 +4639,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
: R.string.title_check_gmail_oauth);
final Snackbar snackbar = Snackbar.make(view, resid, Snackbar.LENGTH_INDEFINITE)
.setGestureInsetBottomIgnored(true);
snackbar.setAction(passwd > 0 ? R.string.title_info : android.R.string.ok, new View.OnClickListener() {
snackbar.setAction(R.string.title_info, new View.OnClickListener() {
@Override
public void onClick(View v) {
snackbar.dismiss();
if (resid == R.string.title_check_gmail_password)
Helper.viewFAQ(v.getContext(), 6);
Helper.viewFAQ(v.getContext(), 6);
prefs.edit().putBoolean("gmail_checked", true).apply();
}
});