mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-02 12:33:43 +00:00
On error open FAQ
This commit is contained in:
parent
f05ba24c64
commit
795b50ba5d
1 changed files with 7 additions and 3 deletions
|
@ -474,10 +474,14 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
} else if ("outbox".equals(action))
|
||||
onMenuOutbox();
|
||||
|
||||
else if ("error".equals(action))
|
||||
onDebugInfo();
|
||||
else if ("error".equals(action)) {
|
||||
Intent ifaq = new Intent(Intent.ACTION_VIEW);
|
||||
ifaq.setData(Uri.parse(Helper.FAQ_URI + "#frequently-asked-questions"));
|
||||
ifaq.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
if (ifaq.resolveActivity(getPackageManager()) != null)
|
||||
startActivity(ifaq);
|
||||
|
||||
else if (action.startsWith("thread")) {
|
||||
} else if (action.startsWith("thread")) {
|
||||
intent.putExtra("thread", action.split(":", 2)[1]);
|
||||
onViewThread(intent);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue