Colored icons turn red in smartphone browser.

Dmathus74a year ago

I'm using the icon editing program to make the icons more attractive. However, I notice that traccar 5.6 presents colored icons in PC browsers, however, in smartphones the icons are red. What should I do to fix this?
Thank you for your attention.

Anton Tananaeva year ago

What do you mean by colored icons? Isn't red also a color? Please provide more context and ideally screenshots.

Dmathus74a year ago

I edited some traccar icons like motorcycle and car. They are colored in the computer browser, but in smartphone browsers it is only red and green. See the attached example.

https://drive.google.com/file/d/1tqjtJ1mutsH0-OFZIg2mKrO5yb4xVP33/view?usp=sharing for PC

https://drive.google.com/file/d/1PjY7pCVTmD22IfFVHXfeJWICZ6m9kZgJ/view?usp=sharing for smartphone

thanks!

Anton Tananaeva year ago

Are you using Firefox on PC? We don't change colors in Firefox because of an issue. We actually fixed it recently.

Dmathus74a year ago

On the pc, in any browser, whether firefox or chrome, everything is normal, the icons are colored, but on the smartphone, in any browser, it is only green or red.

thanks!

Anton Tananaeva year ago

Can you provide a link to try?

Dmathus74a year ago

Yes I can, I just didn't want to put my vps ip in public.

Thanks!

Anton Tananaeva year ago

Then maybe you can provide a screenshot from Chrome on PC?

Dmathus74a year ago

I will do that now. Thank you so much for wanting to help me.

Dmathus74a year ago
Anton Tananaeva year ago

It actually shouldn't happen. We color icons based on the connection status.

Dmathus74a year ago

For me, it's great when using a computer, but on a smartphone, the icons don't get to be colored. Only green or red.

https://drive.google.com/file/d/1bgr8NMI4E95Fr-ZE7W3IHnOrGhKxKIM8/view?usp=sharing

thanks!

Anton Tananaeva year ago

On the mobile is the correct behavior. It should be colored green, red or yellow.

LeoTeixeiraa year ago

Gildo Matos, hi
how did you change the icon, can you guide me? please