You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid using stats names from constant since the indirection makes it harder to reason about for both humans and the TypeScript compiler.
Also add a note about the `updateStats` being broken with `itemStatuses` from server since this confused me a bit. For example, if user marks an entry as starred, server will return its unread status as well, and it would increase the statistic. For proper synchronization, we would need journal. Thankfully, the `dbOnline` module passes `updateStats = false`.
0 commit comments