Skip to content

Commit

Permalink
For mozilla-mobile#23121 - Replace @drawble/ic_desktop with @drawable…
Browse files Browse the repository at this point in the history
…/mozac_ic_device_desktop
  • Loading branch information
gabrielluong authored and pkirakosyan committed Mar 9, 2022
1 parent 26843f2 commit db00cd5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ open class DefaultToolbarMenu(
}

val desktopSiteItem = BrowserMenuImageSwitch(
imageResource = R.drawable.ic_desktop,
imageResource = R.drawable.mozac_ic_device_desktop,
label = context.getString(R.string.browser_menu_desktop_site),
initialState = {
selectedSession?.content?.desktopMode ?: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class CustomTabToolbarMenu(
}

private val desktopMode = BrowserMenuImageSwitch(
imageResource = R.drawable.ic_desktop,
imageResource = R.drawable.mozac_ic_device_desktop,
label = context.getString(R.string.browser_menu_desktop_site),
initialState = { session?.content?.desktopMode ?: false }
) { checked ->
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class HomeMenu(
*/

val desktopItem = BrowserMenuImageSwitch(
imageResource = R.drawable.ic_desktop,
imageResource = R.drawable.mozac_ic_device_desktop,
label = context.getString(R.string.browser_menu_desktop_site),
initialState = { context.settings().openNextTabInDesktopMode }
) { checked ->
Expand Down
12 changes: 0 additions & 12 deletions app/src/main/res/drawable/ic_desktop.xml

This file was deleted.

0 comments on commit db00cd5

Please sign in to comment.