[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:
parent
3aadc43c89
commit
16b265a861
9 changed files with 99 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue