mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-06-05 05:12:23 -04:00
fix follow
This commit is contained in:
parent
72ffae6a92
commit
ad9a77d68f
2 changed files with 4 additions and 3 deletions
|
@ -18,7 +18,8 @@ abstract mixin class StateFollower<S extends Object, K, V> {
|
|||
required Stream<S> stream,
|
||||
}) {
|
||||
//
|
||||
_lastInputStateMap = getStateMap(initialInputState);
|
||||
_lastInputStateMap = IMap();
|
||||
_updateFollow(initialInputState);
|
||||
_subscription = stream.listen(_updateFollow);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue