From 4cd70645405af01ba433f303614f39bd10401dea Mon Sep 17 00:00:00 2001 From: mcarare Date: Thu, 16 Dec 2021 10:11:06 +0200 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/22450: Replace quit icon with AC one. --- .../fenix/components/toolbar/DefaultToolbarMenu.kt | 2 +- .../main/java/org/mozilla/fenix/home/HomeMenu.kt | 2 +- app/src/main/res/drawable/ic_exit.xml | 13 ------------- 3 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 app/src/main/res/drawable/ic_exit.xml diff --git a/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt b/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt index d54871e221..0630e8fe2a 100644 --- a/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt +++ b/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt @@ -325,7 +325,7 @@ open class DefaultToolbarMenu( val deleteDataOnQuit = BrowserMenuImageText( label = context.getString(R.string.delete_browsing_data_on_quit_action), - imageResource = R.drawable.ic_exit, + imageResource = R.drawable.mozac_ic_quit, iconTintColorResource = primaryTextColor() ) { onItemTapped.invoke(ToolbarMenu.Item.Quit) diff --git a/app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt b/app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt index a49d4a9223..9b161ba824 100644 --- a/app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt +++ b/app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt @@ -85,7 +85,7 @@ class HomeMenu( private val quitItem by lazy { BrowserMenuImageText( context.getString(R.string.delete_browsing_data_on_quit_action), - R.drawable.ic_exit, + R.drawable.mozac_ic_quit, primaryTextColor ) { onItemTapped.invoke(Item.Quit) diff --git a/app/src/main/res/drawable/ic_exit.xml b/app/src/main/res/drawable/ic_exit.xml deleted file mode 100644 index a0d5829fa6..0000000000 --- a/app/src/main/res/drawable/ic_exit.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - -