Skip to content

Commit

Permalink
Fix URLs for Help and Report buttons. Fixes #1643 (#1663)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin authored and keianhzo committed Aug 27, 2019
1 parent 64098ae commit 794aab0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private void initialize(Context aContext) {

LinearLayout reportIssue = findViewById(R.id.reportIssueLayout);
reportIssue.setOnClickListener(v -> {
SessionStore.get().getActiveStore().loadUri(getContext().getString(R.string.bug_report_url));
onSettingsReportClick();
onDismiss();
});

Expand Down Expand Up @@ -162,8 +162,8 @@ private void initialize(Context aContext) {
if (mAudio != null) {
mAudio.playSound(AudioEngine.Sound.CLICK);
}

onSettingsReportClick();
SessionStore.get().getActiveStore().loadUri(getContext().getString(R.string.help_url));
onDismiss();
});

HoneycombButton developerOptionsButton = findViewById(R.id.developerOptionsButton);
Expand Down Expand Up @@ -241,7 +241,7 @@ private void onSettingsReportClick() {

sessionStack.newSessionWithUrl(getContext().getString(R.string.private_report_url, url));

hide(REMOVE_WIDGET);
onDismiss();
}

private void onDeveloperOptionsClick() {
Expand Down

0 comments on commit 794aab0

Please sign in to comment.