[native] Replace threadHasPermission with useThreadHasPermission in ThreadSettings
Summary:
Similar to D11753, but for ThreadSettings
Depends on D11753
Test Plan:
flow + close reading.
Will test generally at end to make sure things work as expected. Don't think it's practical to manually test each of these trivial changes.
Reviewers: ginsu, tomek, varun, will
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D11754