mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
ce722644b7
commit
1ef4f1be11
|
@ -4639,11 +4639,10 @@ 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);
|
||||
prefs.edit().putBoolean("gmail_checked", true).apply();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue