# \[SOLVED\] Switch coponent color, web preview and Live test on device

**URL:** https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941
**Category:** Issues / Bugs
**Tags:** design, beginner, switch
**Created:** [September 25, 2023, 3:57pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941 "2023-09-25T15:57:53Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![frederikdeclercq44o1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/frederikdeclercq44o1/32/157652_2.png) [@frederikdeclercq44o1](https://community.thunkable.com/u/frederikdeclercq44o1)
#### Post date: [September 25, 2023, 3:57pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941/1 "2023-09-25T15:57:53Z")

</div>

When I use the ‘switch’ component, it works fine in the web preview. But when I test it on my phone the colors don’t change.  
Even with the default switch and no blocks attached, there is a difference.

[https://x.thunkable.com/projects/65102b5470b935bd8fc41c24/c033d4e7-bfd9-4ac8-b9cb-aa40df494f84/designer](https://x.thunkable.com/projects/65102b5470b935bd8fc41c24/c033d4e7-bfd9-4ac8-b9cb-aa40df494f84/designer)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [September 25, 2023, 5:04pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941/2 "2023-09-25T17:04:04Z")

</div>

I can confirm this bug: [Colors in stored variables - #18 by tatiang](https://community.thunkable.com/t/colors-in-stored-variables/2602843/18)

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [September 27, 2023, 12:37pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941/3 "2023-09-27T12:37:13Z")

</div>

Hello @frederikdeclercq44o1 and @tatiang  
Thank you for taking the time to investigate and provide all the information.  
We have flagged it to our engineering team and will provide an update as soon as possible.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [October 26, 2023, 7:15pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941/4 "2023-10-26T19:15:54Z")

</div>

Hello @frederikdeclercq44o1  
We were able to identify the root cause, develop a fix, and release it to production so everything should be working as normal again for you now.

---

<div class="post-metadata">

### Author: ![Goldking](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/goldking/32/165073_2.png) [@Goldking](https://community.thunkable.com/u/Goldking)
#### Post date: [November 11, 2023, 3:12pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941/5 "2023-11-11T15:12:22Z")

</div>

Hello , I got the same error.  
Works good in web preview but doesn’t work in live test and on device with apk.  
Thanks

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 13, 2023, 12:24pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941/6 "2023-11-13T12:24:46Z")

</div>

Hello @Goldking Welcome back to the community.  
Could you please try to delete the existing switch component and add a new one?  
Probably this will solve the issue.

---

<div class="post-metadata">

### Author: ![Goldking](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/goldking/32/165073_2.png) [@Goldking](https://community.thunkable.com/u/Goldking)
#### Post date: [November 13, 2023, 12:38pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941/7 "2023-11-13T12:38:16Z")

</div>

Thanks.  
I will try 💪🏻 and report

---

<div class="post-metadata">

### Author: ![Goldking](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/goldking/32/165073_2.png) [@Goldking](https://community.thunkable.com/u/Goldking)
#### Post date: [November 13, 2023, 8:46pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941/8 "2023-11-13T20:46:45Z")

</div>

Nothing, it works only in the web preview.  
I didn’t test it on mobile with apk

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:33pm UTC](https://community.thunkable.com/t/solved-switch-coponent-color-web-preview-and-live-test-on-device/2612941/9 "2024-11-08T13:33:27Z")

</div>


