lbry-desktop/ui/redux
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
..
actions Sync: fix new user sign up flow 2022-01-05 04:00:12 -05:00
middleware Sync: handle fast-actions being reverted 2021-12-29 10:32:38 -05:00
reducers Uploads: prevent perpetual locked upload 2022-01-03 12:10:55 -05:00
selectors Revert "Fix publish form when editing livestream (#565)" 2021-12-31 13:28:19 -05:00