lbry-desktop/ui/redux
infinite-persistence 38c13cf5ef Skip USER_STATE_POPULATE when sync_hash is the same
## Changes
- doHandleSyncComplete: only call doGetAndPopulatePreferences when there is new data.
- But for that to work, we'll need to populate preferences at least once. We'll do that in doSignIn.
- We can also remove the "sync/prefs ready" mechanism that was mainly meant for Desktop.

Then came another problem: while trying to spark changes between 2 tabs, `sync/get` was saying "no change" despite the local and server hash being different. I think it is because the both `sync_hash + sync/get` combo is operating on server data, so the hash is the same. I'm guessing this is why we ended up just running doGetAndPopulatePreferences every time before PR, since this flag wasn't correct in this scenario.

- Updated `data.changed` to consider both API results and comparison with local hash.
2021-11-15 07:06:39 -08:00
..
actions Skip USER_STATE_POPULATE when sync_hash is the same 2021-11-15 07:06:39 -08:00
middleware Track duration of startup events 2021-10-22 16:02:21 +08:00
reducers Fix unable to clear muted list 2021-11-15 13:36:08 +08:00
selectors Attempt to speed up sidebar menu for mobile (#283) 2021-11-12 10:59:11 -05:00