diff options
Diffstat (limited to 'src/view/screens/Profile.tsx')
-rw-r--r-- | src/view/screens/Profile.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index 0fb30162c..c89c2ad13 100644 --- a/src/view/screens/Profile.tsx +++ b/src/view/screens/Profile.tsx @@ -18,6 +18,7 @@ import {EmptyState} from '../com/util/EmptyState' import {Text} from '../com/util/text/Text' import {ViewHeader} from '../com/util/ViewHeader' import * as Toast from '../com/util/Toast' +import {FAB} from '../com/util/FAB' import {s, colors} from '../lib/styles' import {useOnMainScroll} from '../lib/hooks/useOnMainScroll' @@ -89,6 +90,10 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => { ) } + const onPressCompose = () => { + store.shell.openComposer({}) + } + // rendering // = @@ -263,6 +268,7 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => { ) : ( renderHeader() )} + <FAB icon="pen-nib" onPress={onPressCompose} /> </View> ) }) |