fixed middleButton parameter being ignored

This commit is contained in:
Adithya Abraham Philip 2015-06-18 16:45:37 +05:30
parent 8e0903d85e
commit 659979247a

View File

@ -157,14 +157,14 @@ public class OrbotHelper {
OrbotHelper.getInstallDialogFragmentWithThirdButton( OrbotHelper.getInstallDialogFragmentWithThirdButton(
new Messenger(ignoreTorHandler), new Messenger(ignoreTorHandler),
R.string.orbot_install_dialog_ignore_tor middleButton
).show(fragmentActivity.getSupportFragmentManager(), "OrbotHelperOrbotInstallDialog"); ).show(fragmentActivity.getSupportFragmentManager(), "OrbotHelperOrbotInstallDialog");
return false; return false;
} else if (!OrbotHelper.isOrbotRunning()) { } else if (!OrbotHelper.isOrbotRunning()) {
OrbotHelper.getOrbotStartDialogFragment(new Messenger(ignoreTorHandler), OrbotHelper.getOrbotStartDialogFragment(new Messenger(ignoreTorHandler),
R.string.orbot_install_dialog_ignore_tor) middleButton)
.show(fragmentActivity.getSupportFragmentManager(), "OrbotHelperOrbotStartDialog"); .show(fragmentActivity.getSupportFragmentManager(), "OrbotHelperOrbotStartDialog");
return false; return false;