Fix regression.
This commit is contained in:
parent
152a002c8a
commit
576370cdf3
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,8 @@ class TypingNotificationPresenter @Inject constructor(
|
||||||
val typingMembersState by produceState(initialValue = persistentListOf(), key1 = renderTypingNotifications) {
|
val typingMembersState by produceState(initialValue = persistentListOf(), key1 = renderTypingNotifications) {
|
||||||
if (renderTypingNotifications) {
|
if (renderTypingNotifications) {
|
||||||
observeRoomTypingMembers()
|
observeRoomTypingMembers()
|
||||||
|
} else {
|
||||||
|
value = persistentListOf<TypingRoomMember>()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue