Changed DeepL info button into settings button

This commit is contained in:
M66B 2022-11-09 12:28:03 +01:00
parent aa35ac1228
commit 04bfb2f167
2 changed files with 5 additions and 4 deletions

View File

@ -772,7 +772,8 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
ibDeepL.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.viewFAQ(v.getContext(), 167, true);
DeepL.FragmentDialogDeepL fragment = new DeepL.FragmentDialogDeepL();
fragment.show(getParentFragmentManager(), "deepl:configure");
}
});

View File

@ -469,11 +469,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:contentDescription="@string/title_info"
android:tooltipText="@string/title_info"
android:contentDescription="@string/title_translate_configure"
android:tooltipText="@string/title_translate_configure"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvDeepLPrivacy"
app:srcCompat="@drawable/twotone_info_24" />
app:srcCompat="@drawable/twotone_settings_24" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swVirusTotal"