aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/org/connectbot/GeneratePubkeyActivity.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/org/connectbot/GeneratePubkeyActivity.java b/app/src/main/java/org/connectbot/GeneratePubkeyActivity.java
index aae5b87..bf0bdd2 100644
--- a/app/src/main/java/org/connectbot/GeneratePubkeyActivity.java
+++ b/app/src/main/java/org/connectbot/GeneratePubkeyActivity.java
@@ -223,13 +223,13 @@ public class GeneratePubkeyActivity extends AppCompatActivity implements OnEntro
if (nickname.getText().length() == 0)
allowSave = false;
- save.setEnabled(allowSave);
-
if (allowSave) {
- save.getBackground().setColorFilter(getResources().getColor(R.color.accent, getTheme()), PorterDuff.Mode.SRC_IN);
+ save.getBackground().setColorFilter(getResources().getColor(R.color.accent), PorterDuff.Mode.SRC_IN);
} else {
save.getBackground().setColorFilter(null);
}
+
+ save.setEnabled(allowSave);
}
private void startEntropyGather() {