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. |
||
---|---|---|
.. | ||
app.js | ||
blocked.js | ||
claims.js | ||
coinSwap.js | ||
collections.js | ||
comments.js | ||
content.js | ||
file.js | ||
file_info.js | ||
livestream.js | ||
notifications.js | ||
publish.js | ||
reactions.js | ||
reportContent.js | ||
rewards.js | ||
search.js | ||
settings.js | ||
subscriptions.js | ||
sync.js | ||
tags.js | ||
user.js | ||
wallet.js | ||
websocket.js |