Added Gmail/OAuth hint

This commit is contained in:
M66B
2022-12-31 10:23:53 +01:00
parent dac2576484
commit 2b4e822bec
3 changed files with 16 additions and 1 deletions

View File

@@ -125,6 +125,7 @@ public class FragmentOAuth extends FragmentBase {
private TextView tvConfiguring;
private TextView tvGmailHint;
private TextView tvGmailLoginHint;
private TextView tvGmailLoginMax;
private TextView tvError;
private TextView tvOfficeAuthHint;
@@ -180,6 +181,7 @@ public class FragmentOAuth extends FragmentBase {
tvConfiguring = view.findViewById(R.id.tvConfiguring);
tvGmailHint = view.findViewById(R.id.tvGmailHint);
tvGmailLoginHint = view.findViewById(R.id.tvGmailLoginHint);
tvGmailLoginMax = view.findViewById(R.id.tvGmailLoginMax);
tvError = view.findViewById(R.id.tvError);
tvOfficeAuthHint = view.findViewById(R.id.tvOfficeAuthHint);
@@ -271,6 +273,7 @@ public class FragmentOAuth extends FragmentBase {
tvConfiguring.setVisibility(View.GONE);
tvGmailHint.setVisibility("gmail".equals(id) ? View.VISIBLE : View.GONE);
tvGmailLoginHint.setVisibility("gmail".equals(id) ? View.VISIBLE : View.GONE);
tvGmailLoginMax.setVisibility("gmail".equals(id) ? View.VISIBLE : View.GONE);
hideError();
etName.setText(personal);