We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 974e695 commit 8532328Copy full SHA for 8532328
src/com/noshufou/android/su/UpdaterFragment.java
@@ -100,6 +100,10 @@ public void onStepsChanged(Step step) {
100
} else if (step.state != Step.STATE_IN_PROGRESS) {
101
getListAdapter().addStatusToLastEntry(step.result,
102
(step.state == Step.STATE_SUCCESSFUL) ? ConsoleAdapter.CONSOLE_GREEN : ConsoleAdapter.CONSOLE_RED );
103
+ if (step.state == Step.STATE_FAILED) {
104
+ mButton.setEnabled(true);
105
+ mButton.setText(R.string.updater_try_again);
106
+ }
107
}
108
109
0 commit comments