Removed OAuth remark

pull/178/head
M66B 5 years ago
parent 30baddcc74
commit dd1aa710ea

@ -25,7 +25,6 @@ import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.Paint;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
@ -100,7 +99,6 @@ public class FragmentAccount extends FragmentBase {
private Button btnCertificate;
private TextView tvCertificate;
private Button btnOAuth;
private TextView tvOAuthSupport;
private EditText etRealm;
private EditText etName;
@ -214,7 +212,6 @@ public class FragmentAccount extends FragmentBase {
btnCertificate = view.findViewById(R.id.btnCertificate);
tvCertificate = view.findViewById(R.id.tvCertificate);
btnOAuth = view.findViewById(R.id.btnOAuth);
tvOAuthSupport = view.findViewById(R.id.tvOAuthSupport);
etRealm = view.findViewById(R.id.etRealm);
etName = view.findViewById(R.id.etName);
@ -382,14 +379,6 @@ public class FragmentAccount extends FragmentBase {
}
});
tvOAuthSupport.setPaintFlags(tvOAuthSupport.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
tvOAuthSupport.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Helper.viewFAQ(getContext(), 111);
}
});
btnColor.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

@ -299,19 +299,6 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnCertificate" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvOAuthSupport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:drawableEnd="@drawable/baseline_open_in_new_24"
android:drawablePadding="6dp"
android:text="@string/title_oauth_support"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorLink"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnOAuth" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvRealm"
android:layout_width="wrap_content"
@ -320,7 +307,7 @@
android:text="@string/title_realm"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvOAuthSupport" />
app:layout_constraintTop_toBottomOf="@id/btnOAuth" />
<eu.faircode.email.EditTextPlain
android:id="@+id/etRealm"
@ -933,7 +920,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
app:constraint_referenced_ids="
tvUser,etUser,tvPassword,tilPassword,btnCertificate,tvCertificate,btnOAuth,tvOAuthSupport,tvRealm,etRealm,
tvUser,etUser,tvPassword,tilPassword,btnCertificate,tvCertificate,btnOAuth,tvRealm,etRealm,
tvName,tvNameRemark,etName,
tvColor,btnColor,tvColorHint,tvColorPro" />

Loading…
Cancel
Save