Add profile image lightbox
This commit is contained in:
parent
b32bf69be7
commit
b2239228e7
11 changed files with 154 additions and 47 deletions
|
@ -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
|
||||
|
|
|
@ -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()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue