Adjust size of the unidentified delivery icon.

In the advanced privacy settings screen set the
sealed sender icon to its original width and height
to maintain its aspect ratio without stretching it.

Fixes #13992
Resolves #14000
This commit is contained in:
Henry Addo
2025-02-20 08:18:04 -08:00
committed by Greyson Parrelli
parent a5c2113c15
commit 993192d38e

View File

@@ -52,7 +52,7 @@ class AdvancedPrivacySettingsFragment : DSLSettingsFragment(R.string.preferences
R.drawable.ic_unidentified_delivery
)
)
unidentifiedDeliveryIcon.setBounds(0, 0, ViewUtil.dpToPx(20), ViewUtil.dpToPx(20))
unidentifiedDeliveryIcon.setBounds(0, 0, ViewUtil.dpToPx(20), ViewUtil.dpToPx(15))
val iconTint = ContextCompat.getColor(requireContext(), R.color.signal_text_primary_dialog)
unidentifiedDeliveryIcon.colorFilter = PorterDuffColorFilter(iconTint, PorterDuff.Mode.SRC_IN)