Page MenuHomePhabricator

[lib] Use userStore ops in reducer
ClosedPublic

Authored by michal on Apr 3 2024, 6:02 AM.
Tags
None
Referenced Files
F3489631: D11535.diff
Wed, Dec 18, 1:11 PM
Unknown Object (File)
Nov 17 2024, 6:25 AM
Unknown Object (File)
Nov 3 2024, 2:09 AM
Unknown Object (File)
Oct 11 2024, 12:18 PM
Unknown Object (File)
Oct 11 2024, 12:18 PM
Unknown Object (File)
Oct 11 2024, 12:18 PM
Unknown Object (File)
Oct 11 2024, 12:17 PM
Unknown Object (File)
Oct 11 2024, 12:17 PM
Subscribers

Details

Summary

On web we don't persist userStore in redux persist so we can't have a "migration period" where we test if the data in redux persist and sqlite matches and because of that we need to remove the asserts. But this code has been on native for some time now, and seems to work fine so we should be able to remove the safeguards and use data from sqlite directly without any problems.

Test Plan

Play around with the app on web and native, check if there are any errors.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage