mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Gemini integration improvements
This commit is contained in:
@@ -89,6 +89,7 @@ public class FragmentOptionsIntegrations extends FragmentBase implements SharedP
|
||||
private EditText etGemini;
|
||||
private TextInputLayout tilGemini;
|
||||
private EditText etGeminiModel;
|
||||
private ImageButton ibGemini;
|
||||
|
||||
private CardView cardVirusTotal;
|
||||
private CardView cardSend;
|
||||
@@ -158,6 +159,7 @@ public class FragmentOptionsIntegrations extends FragmentBase implements SharedP
|
||||
etGemini = view.findViewById(R.id.etGemini);
|
||||
tilGemini = view.findViewById(R.id.tilGemini);
|
||||
etGeminiModel = view.findViewById(R.id.etGeminiModel);
|
||||
ibGemini = view.findViewById(R.id.ibGemini);
|
||||
|
||||
cardVirusTotal = view.findViewById(R.id.cardVirusTotal);
|
||||
cardSend = view.findViewById(R.id.cardSend);
|
||||
@@ -604,6 +606,13 @@ public class FragmentOptionsIntegrations extends FragmentBase implements SharedP
|
||||
}
|
||||
});
|
||||
|
||||
ibGemini.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Helper.viewFAQ(v.getContext(), 204);
|
||||
}
|
||||
});
|
||||
|
||||
// Initialize
|
||||
FragmentDialogTheme.setBackground(getContext(), view, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user