[APP-834] Allow @ing someone in post directly from profile (#1241)

* setup `initMention` for mobile

* setup creating post with profile tagged on web
This commit is contained in:
Ansh
2023-08-22 11:01:00 -07:00
committed by GitHub
parent 3aadc43c89
commit 16b265a861
9 changed files with 99 additions and 5 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ export const ProfileScreen = withAuthRequired(
const onPressCompose = React.useCallback(() => {
track('ProfileScreen:PressCompose')
store.shell.openComposer({})
}, [store, track])
store.shell.openComposer({mention: uiState.profile.handle})
}, [store, track, uiState])
const onSelectView = React.useCallback(
(index: number) => {
uiState.setSelectedViewIndex(index)