Skip to content

Commit bc84a59

Browse files
Merge remote-tracking branch 'origin/main' into fix/issue-26577
2 parents b1d4707 + 30eb7e7 commit bc84a59

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

‎apps/mobile/src/features/workspace/WorkspaceRootScreen.tsx‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,7 @@ function WorkspaceRootContent() {
128128

129129
return (
130130
<WorkspaceTabsContext value={context}>
131-
<View
132-
className={`flex-1 ${sidebarPicker ? "bg-drawer" : surface.className}`}
133-
style={sidebarPicker ? { paddingTop: insets.top } : undefined}
134-
>
131+
<View className={`flex-1 ${sidebarPicker ? "bg-drawer" : surface.className}`}>
135132
{Platform.OS === "ios" ? (
136133
<NativeStackScreenOptions
137134
optionsVersion={[
@@ -191,11 +188,7 @@ function WorkspaceRootContent() {
191188
]}
192189
/>
193190
)}
194-
<SafeAreaInsetsContext
195-
value={
196-
sidebarPicker ? { ...insets, top: 0 } : compactTabs ? { ...insets, bottom: 0 } : insets
197-
}
198-
>
191+
<SafeAreaInsetsContext value={compactTabs ? { ...insets, bottom: 0 } : insets}>
199192
{settingsOpen ? (
200193
<SettingsRouteScreen />
201194
) : enabled.length === 0 ? (

0 commit comments

Comments
 (0)