on connect failure reenable buttons
This commit is contained in:
parent
fc279e8062
commit
9a1d8df640
|
@ -136,6 +136,8 @@ public class ConnectActivity extends AppCompatActivity {
|
|||
connectSpinner.setVisibility(View.INVISIBLE);
|
||||
if (exception != "") {
|
||||
connectStatusText.setText("ERROR connecting: " + exception);
|
||||
connectButton.setEnabled(true);
|
||||
regenButton.setEnabled(true);
|
||||
} else {
|
||||
connectStatusText.setText("");
|
||||
// TODO: Open OD control activity
|
||||
|
|
Loading…
Reference in New Issue