HomePhabricator
Diffusion Comm d90270ac68f8

[native] Consume `useThreadInChatList` in `native/ThreadSettings`

Description

[native] Consume useThreadInChatList in native/ThreadSettings

Summary:
Similar to rest of stack, we want to replace usages of threadHasPermission with useThreadHasPermission which we're doing indirectly when we replace threadInChatList with useThreadInChatList.


Depends on D11915

Test Plan:
flow + close reading for now

Logged value of isThreadInChatList and ensured it was same before/after change.

Reviewers: ashoat, ginsu, tomek, varun, will

Reviewed By: tomek

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

Details