diff --git a/apps/mobile/README.md b/apps/mobile/README.md index 76c2c96..5ca7e20 100644 --- a/apps/mobile/README.md +++ b/apps/mobile/README.md @@ -43,22 +43,16 @@ thumbnail, while sharing the original HTTPS URL. Receiving apps control whether they display previews. If artwork cannot load, the URL is still shared. Existing builds without the native sharing module fall back to URL-only sharing. -### Adaptive iOS sidebar +### iPad sidebar -Expo Router owns navigation through `NativeTabs sidebarAdaptable`. Expanded iOS -windows prefer sidebar placement, including the unfolded iPhone Duo. Compact -windows use the phone player accessory and player layout. Layout selection uses -the current window dimensions rather than the device's iPad identifier. -Horizontal safe areas protect content from the sidebar and either rail edge, -and player spacing updates as the window folds or resizes. +Expo Router owns navigation through `NativeTabs sidebarAdaptable`. `native/TabletSidebar.swift` adds UIKit Library and Playlists groups and the pinned account footer, which the current Expo Router API does not expose. The bridge reuses the router's tab instances so each destination retains its navigation stack. -On Duo, hiding the sidebar restores the native tab rail. -The `react-native-screens` patch resolves groups to their selected leaf controller -for tab selection and routes compact group buttons directly to that screen. It -also notifies the sidebar bridge after each native tab reconciliation, so startup updates cannot replace the Library and Playlists -sections with a flat tab list. Keep these behaviors when updating the dependency. +The `react-native-screens` patch checks the selected leaf controller rather than +the group's root controller. It also notifies the sidebar bridge after each native +tab reconciliation, so startup updates cannot replace the Library and Playlists +sections with a flat tab list. Keep both behaviors when updating the dependency. After changing native modules or dependency patches, run `pod install` in `ios` and rebuild the development app. diff --git a/apps/mobile/app/(app)/(tabs)/_layout.tsx b/apps/mobile/app/(app)/(tabs)/_layout.tsx index 16a62fa..512741d 100644 --- a/apps/mobile/app/(app)/(tabs)/_layout.tsx +++ b/apps/mobile/app/(app)/(tabs)/_layout.tsx @@ -119,13 +119,6 @@ function TabsContent() { ) : null} = 27 - ? tabletLayout - ? "sidebar" - : "automatic" - : undefined - } blurEffect={ tabColors.blurEffect as "systemChromeMaterialDark" | "systemChromeMaterialLight" @@ -187,10 +180,7 @@ function TabsContent() {