remove bold alert icon
This commit is contained in:
parent
a1fd6b13d5
commit
7ef70f7823
3 changed files with 2 additions and 16 deletions
|
|
@ -128,10 +128,8 @@ abstract class Check {
|
|||
|
||||
// Add icon to the dialog.
|
||||
ImageView iconView = new ImageView(activity);
|
||||
iconView.setImageResource(Utils.getResourceIdentifierOrThrow(ResourceType.DRAWABLE,
|
||||
BaseSettings.SETTINGS_DISABLE_BOLD_ICONS.get()
|
||||
? "revanced_ic_dialog_alert"
|
||||
: "revanced_ic_dialog_alert_bold"));
|
||||
iconView.setImageResource(Utils.getResourceIdentifierOrThrow(
|
||||
ResourceType.DRAWABLE, "revanced_ic_dialog_alert"));
|
||||
iconView.setColorFilter(Utils.getAppForegroundColor(), PorterDuff.Mode.SRC_IN);
|
||||
iconView.setPadding(0, 0, 0, 0);
|
||||
LinearLayout.LayoutParams iconParams = new LinearLayout.LayoutParams(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue