Update the timeline media QuickLook modifier. (#3593)

Not hooked up to any flows yet.
This commit is contained in:
Doug
2024-12-09 15:23:12 +00:00
committed by GitHub
parent 7254b6e029
commit b5605a52e3
31 changed files with 1052 additions and 20 deletions
@@ -96,6 +96,7 @@ struct RoomScreen: View {
.environmentObject(timelineContext)
}
.interactiveQuickLook(item: $timelineContext.mediaPreviewItem)
.timelineMediaQuickLook(viewModel: $timelineContext.mediaPreviewViewModel)
.track(screen: .Room)
.onDrop(of: ["public.item", "public.file-url"], isTargeted: $dragOver) { providers -> Bool in
guard let provider = providers.first,