Colored icons turn red in smartphone browser.

Dmathus742 years 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 Tananaev2 years ago

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

Dmathus742 years 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 Tananaev2 years ago

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

Dmathus742 years 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 Tananaev2 years ago

Can you provide a link to try?

Dmathus742 years ago

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

Thanks!

Anton Tananaev2 years ago

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

Dmathus742 years ago

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

Dmathus742 years ago
Anton Tananaev2 years ago

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

Dmathus742 years 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 Tananaev2 years ago

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

LeoTeixeira2 years ago

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