Skip to content

Commit

Permalink
update custom components
Browse files Browse the repository at this point in the history
  • Loading branch information
akliuxingyuan committed Sep 1, 2023
1 parent 8c13773 commit 4f9e150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class PagedAddonInstallationDialogFragment : AppCompatDialogFragment() {
val att = context.theme.resolveAttribute(android.R.attr.textColorPrimary)
iconView.setColorFilter(ContextCompat.getColor(context, att))
iconView.setImageDrawable(
AppCompatResources.getDrawable(context, iconsR.drawable.mozac_ic_extensions),
AppCompatResources.getDrawable(context, iconsR.drawable.mozac_ic_extension_24),
)
}
logger.error("Attempt to fetch the ${addon.id} icon failed", e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class PagedAddonsManagerAdapter(
val att = context.theme.resolveAttribute(android.R.attr.textColorPrimary)
iconView.setColorFilter(ContextCompat.getColor(context, att))
iconView.setImageDrawable(
AppCompatResources.getDrawable(context, iconsR.drawable.mozac_ic_extensions),
AppCompatResources.getDrawable(context, iconsR.drawable.mozac_ic_extension_24),
)
}
logger.error("Attempt to fetch the ${addon.id} icon failed", e)
Expand Down

0 comments on commit 4f9e150

Please sign in to comment.