HomePhabricator
Diffusion Comm 50428a1a22c2

Refactor getAllDrafts. Bring db drafts parsing to separate function

Description

Refactor getAllDrafts. Bring db drafts parsing to separate function

Summary: This differential refactors getAllDrafts method so that draft parsing is implemented in separate function. This is going to be used when creating bulk JSI query for all SQLite data

Test Plan: Launch the app, write some drafts, kill the app. Launch the app, launch Flipper ensure SET_CLIENT_DB_STORE action payload has corract drafts property.

Reviewers: tomek, atul, jon

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D5771

Details

Provenance
marcinAuthored on Nov 30 2022, 10:31 AM
Reviewer
tomek
Differential Revision
D5771: Refactor getAllDrafts. Bring db drafts parsing to separate function
Parents
rCOMM04e0aea974f6: [ios] Allow background media playback to continue over video component
Branches
Unknown
Tags
Unknown