mirror of https://github.com/M66B/FairEmail.git
Changed DeepL info button into settings button
This commit is contained in:
parent
aa35ac1228
commit
04bfb2f167
|
@ -772,7 +772,8 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||||
ibDeepL.setOnClickListener(new View.OnClickListener() {
|
ibDeepL.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
Helper.viewFAQ(v.getContext(), 167, true);
|
DeepL.FragmentDialogDeepL fragment = new DeepL.FragmentDialogDeepL();
|
||||||
|
fragment.show(getParentFragmentManager(), "deepl:configure");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -469,11 +469,11 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:contentDescription="@string/title_info"
|
android:contentDescription="@string/title_translate_configure"
|
||||||
android:tooltipText="@string/title_info"
|
android:tooltipText="@string/title_translate_configure"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvDeepLPrivacy"
|
app:layout_constraintTop_toBottomOf="@id/tvDeepLPrivacy"
|
||||||
app:srcCompat="@drawable/twotone_info_24" />
|
app:srcCompat="@drawable/twotone_settings_24" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.SwitchCompat
|
<androidx.appcompat.widget.SwitchCompat
|
||||||
android:id="@+id/swVirusTotal"
|
android:id="@+id/swVirusTotal"
|
||||||
|
|
Loading…
Reference in New Issue