Add story ring to CFV2.

This commit is contained in:
Alex Hart
2023-06-29 15:16:19 -03:00
committed by Greyson Parrelli
parent e1e3d7a85b
commit 9b1917cbdc
7 changed files with 43 additions and 15 deletions

View File

@@ -41,7 +41,7 @@ class AvatarView @JvmOverloads constructor(
}
storyRing.visible = true
storyRing.isActivated = hasUnreadStory
storyRing.setBackgroundResource(if (hasUnreadStory) R.drawable.avatar_story_ring_active else R.drawable.avatar_story_ring_inactive)
avatar.scaleX = storyRingScale
avatar.scaleY = storyRingScale