Add profile image lightbox

This commit is contained in:
Paul Frazee 2022-12-12 14:54:56 -06:00
parent b32bf69be7
commit b2239228e7
11 changed files with 154 additions and 47 deletions

View file

@ -18,7 +18,7 @@ import {
MagnifyingGlassIcon,
} from '../../lib/icons'
import {UserAvatar} from '../../com/util/UserAvatar'
import {CreateSceneModel} from '../../../state/models/shell-ui'
import {CreateSceneModal} from '../../../state/models/shell-ui'
export const Menu = ({
visible,
@ -53,7 +53,7 @@ export const Menu = ({
}
const onPressCreateScene = () => {
onClose()
store.shell.openModal(new CreateSceneModel())
store.shell.openModal(new CreateSceneModal())
}
// rendering

View file

@ -28,6 +28,7 @@ import {Menu} from './Menu'
import {Onboard} from '../../screens/Onboard'
import {HorzSwipe} from '../../com/util/gestures/HorzSwipe'
import {Modal} from '../../com/modals/Modal'
import {Lightbox} from '../../com/lightbox/Lightbox'
import {TabsSelector} from './TabsSelector'
import {Composer} from './Composer'
import {s, colors} from '../../lib/styles'
@ -420,6 +421,7 @@ export const MobileShell: React.FC = observer(() => {
/>
</View>
<Modal />
<Lightbox />
<Composer
active={store.shell.isComposerActive}
onClose={() => store.shell.closeComposer()}