Remove old tabs selector modal
This commit is contained in:
parent
98937dda47
commit
05055e184d
5 changed files with 1 additions and 586 deletions
|
@ -7,7 +7,6 @@ import {createCustomBackdrop} from '../util/BottomSheetCustomBackdrop'
|
|||
|
||||
import * as models from '../../../state/models/shell'
|
||||
|
||||
import * as TabsSelectorModal from './TabsSelector'
|
||||
import * as LinkActionsModal from './LinkActions'
|
||||
import * as SharePostModal from './SharePost.native'
|
||||
import * as ComposePostModal from './ComposePost'
|
||||
|
@ -38,14 +37,7 @@ export const Modal = observer(function Modal() {
|
|||
|
||||
let snapPoints: (string | number)[] = CLOSED_SNAPPOINTS
|
||||
let element
|
||||
if (store.shell.activeModal?.name === 'tabs-selector') {
|
||||
snapPoints = TabsSelectorModal.snapPoints
|
||||
element = (
|
||||
<TabsSelectorModal.Component
|
||||
{...(store.shell.activeModal as models.TabsSelectorModel)}
|
||||
/>
|
||||
)
|
||||
} else if (store.shell.activeModal?.name === 'link-actions') {
|
||||
if (store.shell.activeModal?.name === 'link-actions') {
|
||||
snapPoints = LinkActionsModal.snapPoints
|
||||
element = (
|
||||
<LinkActionsModal.Component
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue