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);
|
connectSpinner.setVisibility(View.INVISIBLE);
|
||||||
if (exception != "") {
|
if (exception != "") {
|
||||||
connectStatusText.setText("ERROR connecting: " + exception);
|
connectStatusText.setText("ERROR connecting: " + exception);
|
||||||
|
connectButton.setEnabled(true);
|
||||||
|
regenButton.setEnabled(true);
|
||||||
} else {
|
} else {
|
||||||
connectStatusText.setText("");
|
connectStatusText.setText("");
|
||||||
// TODO: Open OD control activity
|
// TODO: Open OD control activity
|
||||||
|
|
Loading…
Reference in New Issue