mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Start viewer when clicking on story ring.
This commit is contained in:
committed by
Cody Henthorne
parent
0ef215dfc5
commit
267efb0763
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user