lbry-desktop/ui/redux/actions
infinite-persistence 6583b6a636 Sync: fix new user sign up flow
## Issue
- When signing up, the "channel suggestions" page was stuck because `prefsReady` was never set as `preference_get` was never called.
- It was never called due to the optimizations to skip it when there is no difference between the local and server wallet.

## Change
- The first ever `sync/get` will result in a "no wallet" error, and there is already a `catch` to handle it. But the change in 38c13cf5 caused the `catch` to be skipped and went directly to `sync_apply` instead. Although the `catch` is also doing the same thing (`sync_apply`), it also has an additional callback to call `preference_get`.
    - Fixed by ensuring this scenario ends up in the `catch` block like it was originally intended.
- We also did some optimization in the callback to skip the final `preference_get` if there is no difference in hash. But for the case of signing up, we do want to run it (so that `prefsReady` and other stuff gets initialized), so pass `hasNewData = true` to the callback.
2022-01-05 04:00:12 -05:00
..
app.js Remove unused firebase and domain parameter 2022-01-04 08:54:30 -05:00
blocked.js Additional pop up menu options 2021-06-15 13:47:56 -04:00
claims.js Add ability to have claim searches auto-fetch up to 3 pages. (#504) 2021-12-20 13:25:16 -05:00
coinSwap.js CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00
collections.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
comments.js Block: pass comment ID for deletion when being blocked. (#255) 2021-11-09 09:43:02 -05:00
content.js Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
file.js Cost Info selector fixes 2021-11-19 16:01:25 +08:00
file_info.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
livestream.js throw cust error only when failing to parse json 2021-12-23 20:59:08 -05:00
notifications.js Defer notification/categories 2021-12-29 09:15:06 -05:00
publish.js Create new anytime form state to explicitly set to release to now. Clear internal scheduled tag when editing. 2021-12-30 15:21:59 -05:00
reactions.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
rewards.js Change logic for daily reward claiming to weekly 2021-12-23 02:40:58 -05:00
search.js Add back support for Winning Uri 2021-12-09 15:35:40 -05:00
settings.js i18n: restore ability to retrieve new i18n strings 2022-01-03 10:36:12 +08:00
subscriptions.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
sync.js Sync: fix new user sign up flow 2022-01-05 04:00:12 -05:00
tags.js Remove content_tags and related functions 2021-12-13 11:54:53 -05:00
user.js Skip 'install/new' if web already exists 2022-01-04 08:54:30 -05:00
wallet.js [New Feature] Stickers (#131) 2021-10-28 16:25:34 -04:00
websocket.js Handle removed livestream comments 2021-12-30 11:55:44 -05:00