mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/12732: Match notification accent color with app theme
This commit is contained in:
parent
cca00bd8eb
commit
9954d20d0a
@ -6,9 +6,11 @@ package org.mozilla.fenix.downloads
|
||||
|
||||
import mozilla.components.browser.state.store.BrowserStore
|
||||
import mozilla.components.feature.downloads.AbstractFetchDownloadService
|
||||
import org.mozilla.fenix.R
|
||||
import org.mozilla.fenix.ext.components
|
||||
|
||||
class DownloadService : AbstractFetchDownloadService() {
|
||||
override val httpClient by lazy { components.core.client }
|
||||
override val store: BrowserStore by lazy { components.core.store }
|
||||
override val style: Style by lazy { Style(R.color.notification_accent_color_normal_theme) }
|
||||
}
|
||||
|
@ -52,6 +52,7 @@
|
||||
<color name="search_suggestion_indicator_icon_bookmark_color_normal_theme">@color/search_suggestion_indicator_icon_bookmark_color_dark_theme</color>
|
||||
<color name="select_login_header_normal_theme">@color/accent_high_contrast_dark_theme</color>
|
||||
<color name="preference_section_header_normal_theme">@color/preference_section_header_dark_theme</color>
|
||||
<color name="notification_accent_color_normal_theme">@color/accent_high_contrast_dark_theme</color>
|
||||
|
||||
<color name="mozac_widget_favicon_background_normal_theme">@color/mozac_widget_favicon_background_dark_theme</color>
|
||||
<color name="mozac_widget_favicon_border_normal_theme">@color/mozac_widget_favicon_border_dark_theme</color>
|
||||
|
@ -257,6 +257,7 @@
|
||||
<color name="select_login_header_normal_theme">@color/accent_bright_light_theme</color>
|
||||
<color name="mozac_widget_favicon_background_normal_theme">@color/mozac_widget_favicon_background_light_theme</color>
|
||||
<color name="mozac_widget_favicon_border_normal_theme">@color/mozac_widget_favicon_border_light_theme</color>
|
||||
<color name="notification_accent_color_normal_theme">@color/accent_bright_light_theme</color>
|
||||
|
||||
<!-- Tab tray -->
|
||||
<color name="tab_tray_item_text_normal_theme">@color/tab_tray_item_text_light_theme</color>
|
||||
|
Loading…
Reference in New Issue
Block a user