mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Added app privacy policy link
This commit is contained in:
@@ -69,6 +69,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||
private ScrollView scroll;
|
||||
|
||||
private TextView tvPrivacy;
|
||||
private TextView tvPrivacyApp;
|
||||
private EditText etName;
|
||||
private EditText etEmail;
|
||||
private TextInputLayout tilPassword;
|
||||
@@ -140,6 +141,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||
|
||||
// Get controls
|
||||
tvPrivacy = view.findViewById(R.id.tvPrivacy);
|
||||
tvPrivacyApp = view.findViewById(R.id.tvPrivacyApp);
|
||||
etName = view.findViewById(R.id.etName);
|
||||
etEmail = view.findViewById(R.id.etEmail);
|
||||
tilPassword = view.findViewById(R.id.tilPassword);
|
||||
@@ -185,6 +187,14 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||
}
|
||||
});
|
||||
|
||||
tvPrivacyApp.setPaintFlags(tvPrivacyApp.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||
tvPrivacyApp.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Helper.view(v.getContext(), Uri.parse(Helper.PRIVACY_URI), false);
|
||||
}
|
||||
});
|
||||
|
||||
tilPassword.setHintEnabled(false);
|
||||
|
||||
tilPassword.getEditText().setOnEditorActionListener(new TextView.OnEditorActionListener() {
|
||||
|
||||
Reference in New Issue
Block a user