mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 17:43:18 +02:00
Added DeepL FAQ
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user