mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 00:51:44 +01:00
Report question or problem
This commit is contained in:
@@ -967,6 +967,24 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
}
|
||||
|
||||
private void onMenuIssue() {
|
||||
new DialogBuilderLifecycle(this, this)
|
||||
.setMessage(R.string.title_issue_type)
|
||||
.setPositiveButton(R.string.title_issue_question, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
Helper.view(ActivityView.this, ActivityView.this, Helper.getIntentFAQ());
|
||||
}
|
||||
})
|
||||
.setNegativeButton(R.string.title_issue_problem, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
onReportIssue();
|
||||
}
|
||||
})
|
||||
.show();
|
||||
}
|
||||
|
||||
void onReportIssue() {
|
||||
try {
|
||||
String version = BuildConfig.VERSION_NAME + "/" +
|
||||
(Helper.hasValidFingerprint(this) ? "1" : "3") +
|
||||
|
||||
Reference in New Issue
Block a user