Bug 1840210 - Rename mozac_ic_forward to mozac_ic_forward_24

This commit is contained in:
Gabriel Luong
2023-06-24 12:49:22 -04:00
committed by mergify[bot]
parent e60ba5018e
commit 6eb3873250
10 changed files with 10 additions and 10 deletions

View File

@@ -393,7 +393,7 @@ open class DefaultComponents(private val applicationContext: Context) {
}
val forward = BrowserMenuItemToolbar.TwoStateButton(
primaryImageResource = iconsR.drawable.mozac_ic_forward,
primaryImageResource = iconsR.drawable.mozac_ic_forward_24,
primaryContentDescription = "Forward",
primaryImageTintResource = photonColors.photonBlue90,
isInPrimaryState = {

View File

@@ -139,7 +139,7 @@ class ToolbarActivity : AppCompatActivity() {
binding.toolbar.addNavigationAction(back)
val forward = BrowserToolbar.Button(
resources.getThemedDrawable(iconsR.drawable.mozac_ic_forward)!!,
resources.getThemedDrawable(iconsR.drawable.mozac_ic_forward_24)!!,
"Forward",
) {
simulateReload()
@@ -236,7 +236,7 @@ class ToolbarActivity : AppCompatActivity() {
// //////////////////////////////////////////////////////////////////////////////////////////
val forward = BrowserMenuItemToolbar.Button(
iconsR.drawable.mozac_ic_forward,
iconsR.drawable.mozac_ic_forward_24,
"Forward",
isEnabled = { canGoForward() },
) {

View File

@@ -278,7 +278,7 @@ class BrowserFragment : BaseBrowserFragment(), UserInteractionHandler {
forwardAction = BrowserToolbar.TwoStateButton(
primaryImage = AppCompatResources.getDrawable(
context,
R.drawable.mozac_ic_forward,
R.drawable.mozac_ic_forward_24,
)!!,
primaryContentDescription = context.getString(R.string.browser_menu_forward),
primaryImageTintResource = enableTint,

View File

@@ -109,7 +109,7 @@ open class DefaultToolbarMenu(
}
val forward = BrowserMenuItemToolbar.TwoStateButton(
primaryImageResource = mozilla.components.ui.icons.R.drawable.mozac_ic_forward,
primaryImageResource = mozilla.components.ui.icons.R.drawable.mozac_ic_forward_24,
primaryContentDescription = context.getString(R.string.browser_menu_forward),
primaryImageTintResource = primaryTextColor(),
isInPrimaryState = {

View File

@@ -72,7 +72,7 @@ class CustomTabToolbarMenu(
}
val forward = BrowserMenuItemToolbar.TwoStateButton(
primaryImageResource = mozilla.components.ui.icons.R.drawable.mozac_ic_forward,
primaryImageResource = mozilla.components.ui.icons.R.drawable.mozac_ic_forward_24,
primaryContentDescription = context.getString(R.string.browser_menu_forward),
primaryImageTintResource = primaryTextColor(),
isInPrimaryState = {

View File

@@ -62,7 +62,7 @@ class NavigationButtonsIntegration(
toolbar.addNavigationAction(backButton)
val forwardButton = BrowserToolbar.TwoStateButton(
primaryImage = ContextCompat.getDrawable(context, R.drawable.mozac_ic_forward)!!,
primaryImage = ContextCompat.getDrawable(context, R.drawable.mozac_ic_forward_24)!!,
primaryContentDescription = context.getString(R.string.content_description_forward),
primaryImageTintResource = enabledColorRes,
isInPrimaryState = {

View File

@@ -54,7 +54,7 @@ class CustomTabMenu(
}
val forward = BrowserMenuItemToolbar.TwoStateButton(
primaryImageResource = R.drawable.mozac_ic_forward,
primaryImageResource = R.drawable.mozac_ic_forward_24,
primaryContentDescription = context.getString(R.string.content_description_forward),
primaryImageTintResource = context.theme.resolveAttribute(R.attr.primaryText),
isInPrimaryState = {

View File

@@ -61,7 +61,7 @@ class DefaultBrowserMenu(
}
val forward = BrowserMenuItemToolbar.TwoStateButton(
primaryImageResource = R.drawable.mozac_ic_forward,
primaryImageResource = R.drawable.mozac_ic_forward_24,
primaryContentDescription = context.getString(R.string.content_description_forward),
primaryImageTintResource = context.theme.resolveAttribute(R.attr.primaryText),
isInPrimaryState = {

View File

@@ -16,7 +16,7 @@
android:layout_weight="1"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/content_description_forward"
android:src="@drawable/mozac_ic_forward"/>
android:src="@drawable/mozac_ic_forward_24"/>
<ImageButton
android:id="@+id/refresh"