mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Added report issue to settings nav menu
This commit is contained in:
parent
dab958f27c
commit
17ab56c3bc
1 changed files with 12 additions and 0 deletions
|
@ -247,6 +247,14 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||||
}
|
}
|
||||||
}).setExternal(true));
|
}).setExternal(true));
|
||||||
|
|
||||||
|
menus.add(new NavMenuItem(R.drawable.twotone_feedback_24, R.string.menu_issue, new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
drawerLayout.closeDrawer(drawerContainer);
|
||||||
|
onMenuIssue();
|
||||||
|
}
|
||||||
|
}).setExternal(true));
|
||||||
|
|
||||||
menus.add(new NavMenuItem(R.drawable.twotone_account_box_24, R.string.menu_privacy, new Runnable() {
|
menus.add(new NavMenuItem(R.drawable.twotone_account_box_24, R.string.menu_privacy, new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -488,6 +496,10 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||||
}.execute(this, new Bundle(), "debug:info");
|
}.execute(this, new Bundle(), "debug:info");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void onMenuIssue() {
|
||||||
|
startActivity(Helper.getIntentIssue(this));
|
||||||
|
}
|
||||||
|
|
||||||
private void onMenuPrivacy() {
|
private void onMenuPrivacy() {
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putString("name", "PRIVACY.md");
|
args.putString("name", "PRIVACY.md");
|
||||||
|
|
Loading…
Reference in a new issue