2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawable/ic_addons_extensions with @drawable/mozac_ic_extensions

This commit is contained in:
Gabriel Luong 2022-01-08 13:38:28 -05:00 committed by mergify[bot]
parent 757c6e3dde
commit 92992cbb64
3 changed files with 2 additions and 15 deletions

View File

@ -85,7 +85,7 @@ open class DefaultToolbarMenu(
store = store, store = store,
style = WebExtensionBrowserMenuBuilder.Style( style = WebExtensionBrowserMenuBuilder.Style(
webExtIconTintColorResource = primaryTextColor(), webExtIconTintColorResource = primaryTextColor(),
addonsManagerMenuItemDrawableRes = R.drawable.ic_addons_extensions addonsManagerMenuItemDrawableRes = R.drawable.mozac_ic_extensions
), ),
onAddonsManagerTapped = { onAddonsManagerTapped = {
onItemTapped.invoke(ToolbarMenu.Item.AddonsManager) onItemTapped.invoke(ToolbarMenu.Item.AddonsManager)

View File

@ -141,7 +141,7 @@ class HomeMenu(
val extensionsItem = BrowserMenuImageText( val extensionsItem = BrowserMenuImageText(
context.getString(R.string.browser_menu_add_ons), context.getString(R.string.browser_menu_add_ons),
R.drawable.ic_addons_extensions, R.drawable.mozac_ic_extensions,
primaryTextColor primaryTextColor
) { ) {
onItemTapped.invoke(Item.Extensions) onItemTapped.invoke(Item.Extensions)

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M17.5,7H15.5V5.127C15.5,3.533 14.317,2.166 12.807,2.015C11.958,1.931 11.116,2.206 10.488,2.775C9.86,3.342 9.5,4.154 9.5,4.999V7H6.5C5.119,7 4,8.119 4,9.5V11.75C4,12.44 4.56,13 5.25,13H6.873C7.706,13 8.417,13.59 8.493,14.343C8.536,14.775 8.402,15.188 8.114,15.506C7.829,15.82 7.424,16 7.001,16H5.25C4.56,16 4,16.56 4,17.25V19.5C4,20.881 5.119,22 6.5,22H17.5C18.881,22 20,20.881 20,19.5V9.5C20,8.119 18.881,7 17.5,7ZM18.5,19.7L17.7,20.5H6.3L5.5,19.7V17.5H7.001C7.847,17.5 8.658,17.14 9.226,16.512C9.794,15.885 10.07,15.039 9.985,14.194C9.834,12.683 8.467,11.5 6.873,11.5H5.5V9.3L6.3,8.5H10C10.552,8.5 11,8.052 11,7.5V4.999C11,4.576 11.18,4.171 11.494,3.887C11.812,3.599 12.227,3.466 12.657,3.507C13.41,3.582 14,4.294 14,5.127V7.5C14,8.052 14.448,8.5 15,8.5H17.7L18.5,9.3V19.7Z"
android:fillColor="?primaryText" />
</vector>