Skip to content

Loading…

Changing host type from controller to portal allows relay buttons to be pressed #14

Closed
curtbinder opened this Issue · 0 comments

1 participant

@curtbinder
Owner

When changing the type from a controller to a portal, the relay buttons are able to be clicked when they shouldn't be. Nothing gets updated, but the action should not happen. The same holds true vice versa. When changing back to a controller, you are not able to click the toggle buttons to change the relays.

This is fixed if you restart the application.

Look at the OnPause / OnResume functions inside StatusActivity.
Need to look at clearing the onclicklisteners and setting the clickable value to true/false appropriately.

@curtbinder curtbinder added a commit that closed this issue
@curtbinder Moved setting onclicklisteners to onresume
Fixes problem with switching between controller and portal where buttons were not clickable after being on portal going to controller.
Closes #14
de3245f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.