Start viewer when clicking on story ring.

This commit is contained in:
Alex Hart
2022-03-30 14:44:13 -03:00
committed by Cody Henthorne
parent 0ef215dfc5
commit 267efb0763
9 changed files with 41 additions and 8 deletions

View File

@@ -51,6 +51,10 @@ class AvatarView @JvmOverloads constructor(
avatar.scaleY = 1f
}
fun hasStory(): Boolean {
return storyRing.visible
}
fun setStoryRingFromState(storyViewState: StoryViewState) {
when (storyViewState) {
StoryViewState.NONE -> hideStoryRing()