diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-11-16 20:06:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-16 20:06:11 +0000 |
commit | ebdbf55d146f25a60b88764b3d35c4531ade163d (patch) | |
tree | 22a70b8319b723486eae49136e85e9eb44d95408 /src/view/shell/index.tsx | |
parent | 6aa14f320366478bca3c576f2ead49613cc5d00d (diff) | |
download | voidsky-ebdbf55d146f25a60b88764b3d35c4531ade163d.tar.zst |
manually implement drawertype logic (#6419)
Diffstat (limited to 'src/view/shell/index.tsx')
-rw-r--r-- | src/view/shell/index.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx index 6dc4f95a5..1b5abe478 100644 --- a/src/view/shell/index.tsx +++ b/src/view/shell/index.tsx @@ -105,6 +105,7 @@ function ShellInner() { onOpen={onOpenDrawer} onClose={onCloseDrawer} swipeEdgeWidth={winDim.width / 2} + drawerType={isIOS ? 'slide' : 'front'} swipeEnabled={!canGoBack && hasSession && !isDrawerSwipeDisabled} overlayStyle={{ backgroundColor: select(t.name, { |