diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-01 14:25:41 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-01 14:25:41 -0500 |
commit | 8ae6e67eea8890f639dbaa9423e99cad5e28502f (patch) | |
tree | 720f9e4a4fdd5e394acd74b2d62676dc8c7b8ebc /src/view/shell/mobile/index.tsx | |
parent | 05055e184dbd1d103fc8bfc74ba86f0757937b14 (diff) | |
download | voidsky-8ae6e67eea8890f639dbaa9423e99cad5e28502f.tar.zst |
Rework the composer to a less buggy solution
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r-- | src/view/shell/mobile/index.tsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx index 7b5dd4e91..60188f89f 100644 --- a/src/view/shell/mobile/index.tsx +++ b/src/view/shell/mobile/index.tsx @@ -30,6 +30,7 @@ import {Login} from '../../screens/Login' import {Modal} from '../../com/modals/Modal' import {MainMenu} from './MainMenu' import {TabsSelector} from './TabsSelector' +import {Composer} from './Composer' import {s, colors} from '../../lib/styles' import {GridIcon, HomeIcon, BellIcon} from '../../lib/icons' @@ -217,6 +218,13 @@ export const MobileShell: React.FC = observer(() => { active={isTabsSelectorActive} onClose={() => setTabsSelectorActive(false)} /> + <Composer + active={store.shell.isComposerActive} + onClose={() => store.shell.closeComposer()} + winHeight={winDim.height} + replyTo={store.shell.composerOpts?.replyTo} + onPost={store.shell.composerOpts?.onPost} + /> </View> ) }) |