BrightDV / BoxBox

Unofficial Android and web app for Formula 1 and Formula E fans!
https://codeberg.org/BrightDV/BoxBox
GNU General Public License v3.0
101 stars 11 forks source link

[FEATURE] Adaptive team color icon #67

Open sinfullad opened 1 year ago

sinfullad commented 1 year ago

Is your feature request related to a problem? Please describe. Create an adaptive icon for team color

Describe the solution you'd like If you choose a team color instead of default red then the icon should change to match the color

The splash screen could also change to match the icon color.

Additional context LibreTube, while not adaptive, you can change its icon if wanted Screenshot_20230226_074657_LibreTube

BrightDV commented 1 year ago

That's a good idea, I will dig to see if and how it is possible in Flutter.

BrightDV commented 1 year ago

Sadly, for the moment this is again blocked by flutter (ref: https://github.com/flutter/flutter/issues/38965 )…

One workaround is to crash the app to apply the icon, but it is not that much convenient, so I will not add it soon.

Ultimatum22 commented 1 year ago

Can I have a crack at it? This should be doable, I've done it a while back.

If I understand correct you like a different color app icon, like the how the settings 'team colors' work now right? So if you choose Alpine for example the icon would be the same light blue color as to which the app switches too?

BrightDV commented 1 year ago

Can I have a crack at it? This should be doable, I've done it a while back.

Of course! I can assign it to you if you want.

If I understand correct you like a different color app icon, like the how the settings 'team colors' work now right? So if you choose Alpine for example the icon would be the same light blue color as to which the app switches too?

It is the idea, yes. I will try to do the icons soon.

Ultimatum22 commented 1 year ago

Can I have a crack at it? This should be doable, I've done it a while back.

Of course! I can assign it to you if you want.

Yes please

If I understand correct you like a different color app icon, like the how the settings 'team colors' work now right? So if you choose Alpine for example the icon would be the same light blue color as to which the app switches too?

It is the idea, yes. I will try to do the icons soon.

Shouldn't be needed, let me see what I can do

Ultimatum22 commented 1 year ago

I cannot figure out how I've done it before. I have kind of a solution but it's kinda hacky. I'll go and find some other work todo, will make a ticket or 2 later on.