mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Added hint about importing Gmail accounts
This commit is contained in:
@@ -49,6 +49,7 @@ import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.ActionBarDrawerToggle;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.constraintlayout.widget.Group;
|
||||
import androidx.core.view.GravityCompat;
|
||||
import androidx.documentfile.provider.DocumentFile;
|
||||
import androidx.drawerlayout.widget.DrawerLayout;
|
||||
@@ -1329,8 +1330,8 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
TextView tvCaption = dview.findViewById(R.id.tvCaption);
|
||||
etPassword1 = dview.findViewById(R.id.tilPassword1);
|
||||
etPassword2 = dview.findViewById(R.id.tilPassword2);
|
||||
TextView tvExportHint = dview.findViewById(R.id.tvExportHint);
|
||||
TextView tvImportHint = dview.findViewById(R.id.tvImportHint);
|
||||
Group grpExport = dview.findViewById(R.id.grpExport);
|
||||
Group grpImport = dview.findViewById(R.id.grpImport);
|
||||
|
||||
tvCaption.setText(export ? R.string.title_setup_export : R.string.title_setup_import);
|
||||
|
||||
@@ -1340,8 +1341,8 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
}
|
||||
|
||||
etPassword2.setVisibility(export ? View.VISIBLE : View.GONE);
|
||||
tvExportHint.setVisibility(export ? View.VISIBLE : View.GONE);
|
||||
tvImportHint.setVisibility(export ? View.GONE : View.VISIBLE);
|
||||
grpExport.setVisibility(export ? View.VISIBLE : View.GONE);
|
||||
grpImport.setVisibility(export ? View.GONE : View.VISIBLE);
|
||||
|
||||
return new AlertDialog.Builder(getContext())
|
||||
.setView(dview)
|
||||
|
||||
Reference in New Issue
Block a user