[native] Select logout flow basing on being primary device
Summary:
Address ENG-8550.
- Merged two dev "new flow logout" buttons into one
- Added new selector to get primary device
Test Plan:
- Created a user, logged in on two mobile devices
- Confirmed that pressing the button on secondary logs out only itself (secondary device logout)
- Confirmed that pressing the button on the primary logs out both (primary device logout)
Reviewers: kamil, varun, ashoat
Reviewed By: ashoat
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D13044