aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/org/connectbot/WizardActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/org/connectbot/WizardActivity.java')
-rw-r--r--app/src/main/java/org/connectbot/WizardActivity.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/java/org/connectbot/WizardActivity.java b/app/src/main/java/org/connectbot/WizardActivity.java
index b9ab66e..4069c50 100644
--- a/app/src/main/java/org/connectbot/WizardActivity.java
+++ b/app/src/main/java/org/connectbot/WizardActivity.java
@@ -54,10 +54,10 @@ public class WizardActivity extends Activity {
flipper.addView(new HelpTopicView(this).setTopic(topic));
}
- next = (Button)this.findViewById(R.id.action_next);
+ next = (Button) findViewById(R.id.action_next);
next.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
- if(isLastDisplayed()) {
+ if (isLastDisplayed()) {
// user walked past end of wizard, so return okay
WizardActivity.this.setResult(Activity.RESULT_OK);
WizardActivity.this.finish();
@@ -69,10 +69,10 @@ public class WizardActivity extends Activity {
}
});
- prev = (Button)this.findViewById(R.id.action_prev);
+ prev = (Button) findViewById(R.id.action_prev);
prev.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
- if(isFirstDisplayed()) {
+ if (isFirstDisplayed()) {
// user walked past beginning of wizard, so return that they cancelled
WizardActivity.this.setResult(Activity.RESULT_CANCELED);
WizardActivity.this.finish();