mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
also swap logic of setter
This commit is contained in:
parent
a269f612b6
commit
a59014475b
@ -55,9 +55,9 @@ export default class FragmentBoundaryEntry extends BaseEntry {
|
||||
|
||||
set token(token) {
|
||||
if (this.started) {
|
||||
this.fragment.nextToken = token;
|
||||
} else {
|
||||
this.fragment.previousToken = token;
|
||||
} else {
|
||||
this.fragment.nextToken = token;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user