Media Preview content scanning (#5851)

* implemented checkSourceSafetyIfNeeded in the timeline media preview

* added a subtitle to the spinner when scanning and an animated drag gesture for the error and loading states

* pr suggestions

* pr suggestions part 2
This commit is contained in:
Mauro
2026-07-09 18:46:14 +02:00
committed by GitHub
parent ee89f8846f
commit 6bd8423675
15 changed files with 323 additions and 60 deletions
@@ -1355,6 +1355,13 @@ extension PreviewTests {
}
}
@Test
func timelineMediaContentScanningFailureView() async throws {
for (index, preview) in TimelineMediaContentScanningFailureView_Previews._allPreviews.enumerated() {
try await assertSnapshots(matching: preview, step: index)
}
}
@Test
func timelineMediaPreviewDetailsView() async throws {
for (index, preview) in TimelineMediaPreviewDetailsView_Previews._allPreviews.enumerated() {