Added DeepL FAQ

This commit is contained in:
M66B
2021-05-17 22:06:10 +02:00
parent 900a48a61a
commit eb70697a34
4 changed files with 34 additions and 2 deletions

View File

@@ -6693,8 +6693,17 @@ public class FragmentCompose extends FragmentBase {
View view = LayoutInflater.from(context).inflate(R.layout.dialog_deepl, null);
final EditText etKey = view.findViewById(R.id.etKey);
final ImageButton ibInfo = view.findViewById(R.id.ibInfo);
etKey.setText(prefs.getString("deepl", null));
ibInfo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.viewFAQ(v.getContext(), 167);
}
});
return new AlertDialog.Builder(context)
.setView(view)
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {