Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon color isn't in sync with the state of the toogle button #271

Open
Goran58 opened this issue Nov 25, 2022 · 0 comments
Open

Icon color isn't in sync with the state of the toogle button #271

Goran58 opened this issue Nov 25, 2022 · 0 comments
Assignees

Comments

@Goran58
Copy link

Goran58 commented Nov 25, 2022

In SDKv3 I have defined an own toggle button:

{
"type": "boolean",
"title": {
"en": "Inhibit"
},
"getable": true,
"setable": true,
"uiComponent": "toggle",
"uiQuickAction": false,
"insights": true,
"insightsTitleTrue": "Zone inhibited",
"insightsTitleFalse": "Zone de-inhibited",
"icon": "./drivers/spc/assets/inhibit.svg"
}

When using the button in the mobile App, the foreground color (white or green) isn't always in sync with the state of the button. It works in the web App.

Some example pictures:

active_ok
active_wrong_icon_color
inactive_ok
inactive_wrong_icon_color

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants