38c13cf5ef
## 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. |
||
---|---|---|
.. | ||
component | ||
constants | ||
effects | ||
modal | ||
page | ||
redux | ||
scss | ||
util | ||
analytics.js | ||
app.js | ||
comments.js | ||
i18n.js | ||
index.jsx | ||
lbry.js | ||
logWarningConsoleMessage.js | ||
native.js | ||
reducers.js | ||
rewards.js | ||
store.js |