/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.tripresults/ThemeAwareApplyTintStrategy
ThemeAwareApplyTintStrategy
\ class ThemeAwareApplyTintStrategy(resources: Resources) : TransportTintStrategy
Theme-aware tint strategy that applies white tint in dark mode when service colors are disabled. In light mode, returns drawable as-is. In dark mode, tints to white for visibility.
Constructors
| ThemeAwareApplyTintStrategy | constructor(resources: Resources) |
Functions
| Name | Summary |
|---|---|
| apply | open override fun apply(remoteIconIsTemplate: Boolean, remoteIconIsBranding: Boolean, serviceColor: ServiceColor?, drawable: Drawable): Drawable |