Commit graph

42239 commits

Author SHA1 Message Date
ba08806f15 fix nav bars i think??
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-10 17:50:50 +00:00
e4967be588 let android handle follow-system for UI, resolve manually in mapstyle
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-07 16:04:01 +00:00
0f5f90322a clean up calcAutoTheme
don't reuse variables, declare in scope
2025-03-06 18:20:09 +00:00
4da1ac38c4 fix theme subtitle not updating
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 18:47:25 +00:00
b65e4cfa30 banish is{theme} checkers
nav-auto not working, RoutingController.get().isVehicleNavigation() doesn't work??? maybe called too early before it's set?
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 18:06:58 +00:00
6074f4bfd1 fix status bar colour
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 18:06:10 +00:00
d731773c21 themeswitcher cleanup
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 18:06:10 +00:00
83801d3e85 note
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:44 +00:00
18a4f6eb0e remove unused thing
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
36b136bed5 minor rename
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
2ab8eb336f fix settings background colour not being set
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
c953ffd70a remove unused thememode code
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
2e66ac4182 replace drawables using theme query to use light/dark variants
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
766014752e use night drawable variants instead of getting category icons programatically
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
d5bb82c5de don't set settings card background programatically
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
ab0633ca26 trafficbutton - comment out isNightTheme usages
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
3f4721bbd9 set routing buttons colour with xml, not programatically
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
881e86dd93 set help icon tint with xml, not programatically
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
8a4468ac1d remove manual theme setting in timepicker
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
a577a24911 cleanup comments
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
48916d6e06 remove commented out stuff
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
a85b84c720 clean up manifest
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
8c32a35806 throw error if bad theme passed to setAndroidTheme
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
685c77df2a comment cleanup
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
50cbcd0171 add time-based fallback for auto
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
557121f55a auto and navauto working
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
a035bb3d9a fix system theme more
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
8305cd42b2 handle system-theme in resolveMapStyle
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:43 +00:00
db3c88f62f split autotheme into new function
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:42 +00:00
7ecf0ba840 fix flow
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:42 +00:00
a352d870bf add notes, re-name and reorder stuff
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:42 +00:00
4b420f8c5b rename get/setThemeSettings - no longer just UI theme
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-03-04 14:56:42 +00:00
637a051033 return getcustomtheme
still needed
2025-03-04 14:56:42 +00:00
c65fb53062 these need to be duplicated to night theme
getResource in themeutils doesn't fall back (but i don't think it should)
2025-03-04 14:56:42 +00:00
c037e951a0 remove uimode configchanges in manifest 2025-03-04 14:56:42 +00:00
6135c19079 remove superfluous theme setting code 2025-03-04 14:56:42 +00:00
e6670730d9 split night themes into values-night 2025-03-04 14:56:42 +00:00
9d6a1fb1ba fix splash light/dark implementation 2025-03-04 14:56:42 +00:00
ebbe713f8f more change needed 2025-03-04 14:56:42 +00:00
0edbc5c421 change this 2025-03-04 14:56:42 +00:00
5762449986 eggdfgdgf 2025-03-04 14:56:42 +00:00
d005ee6149 sfdsdfsd 2025-03-04 14:56:42 +00:00
bfad3195ad dfdfg 2025-03-04 14:56:42 +00:00
ce9822f950 srfdtghjhfgh 2025-03-04 14:56:42 +00:00
6b0c05bdc8 fgdgfg 2025-03-04 14:56:42 +00:00
54c8a4c8ed cvbg 2025-03-04 14:56:42 +00:00
2383c021b9 check 2025-03-04 14:56:42 +00:00
7cf9de5d05 dfrg 2025-03-04 14:56:41 +00:00
d1b918c263 [android] rework Light, Dark, and System modes
(rebased from PR, some additional minor cleanup/fixes)
TODO: debug commands like ?light don't work.
Signed-off-by: Harry Bond <me@hbond.xyz>
Signed-off-by: Sebastiao Sousa <sebastiao.sousa@tecnico.ulisboa.pt>
Co-authored-by: Francisco Nael Salgado <francisco.nael.salgado@tecnico.ulisboa.pt>
2025-03-04 14:56:41 +00:00
1753a8bc87 [drape] Remove Vulkan warnings
Signed-off-by: Gonzalo Pesquero <gpesquero@yahoo.es>
2025-03-03 17:42:46 -03:00