summaryrefslogtreecommitdiff
path: root/Sora/Views/Post/Details
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-06-28 06:35:17 -0700
committerFuwn <[email protected]>2025-06-28 06:35:17 -0700
commit3c6199d12d58c311632d22d3261da7892d7a8e63 (patch)
treec2fbbbaf9c9e98a0955863bdfe3284d8637694f1 /Sora/Views/Post/Details
parentfeat: Development commit (diff)
downloadsora-testing-3c6199d12d58c311632d22d3261da7892d7a8e63.tar.xz
sora-testing-3c6199d12d58c311632d22d3261da7892d7a8e63.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/Post/Details')
-rw-r--r--Sora/Views/Post/Details/Carousel/PostDetailsCarouselView.swift10
1 files changed, 6 insertions, 4 deletions
diff --git a/Sora/Views/Post/Details/Carousel/PostDetailsCarouselView.swift b/Sora/Views/Post/Details/Carousel/PostDetailsCarouselView.swift
index e8ab57a..bb14d97 100644
--- a/Sora/Views/Post/Details/Carousel/PostDetailsCarouselView.swift
+++ b/Sora/Views/Post/Details/Carousel/PostDetailsCarouselView.swift
@@ -50,7 +50,9 @@ struct PostDetailsCarouselView: View {
loadingStage: $loadingStage,
imageURL: imageURL
)
- .frame(width: UIScreen.main.bounds.width)
+ #if os(iOS)
+ .frame(width: UIScreen.main.bounds.width)
+ #endif
}
}
.scrollTargetLayout()
@@ -70,9 +72,9 @@ struct PostDetailsCarouselView: View {
preloadNearbyImages()
}
.onAppear(perform: preloadNearbyImages)
- #if !os(macOS)
- .tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
- #endif
+ // #if !os(macOS)
+ // .tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
+ // #endif
}
private func preloadNearbyImages() {