mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Simplification
This commit is contained in:
parent
ce722644b7
commit
1ef4f1be11
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue