Report question or problem

pull/153/head
M66B 6 years ago
parent b7f1b10f36
commit 99f641c1cd

@ -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") +

@ -81,6 +81,10 @@
<string name="menu_rate">Rate this app</string>
<string name="menu_other">Other apps</string>
<string name="title_issue_type">Do you have a question or problem?</string>
<string name="title_issue_question">Question</string>
<string name="title_issue_problem">Problem</string>
<string name="title_welcome">Welcome</string>
<string name="title_eula">End-user license agreement</string>
<string name="title_agree">I agree</string>

Loading…
Cancel
Save