Documents navigation

This commit is contained in:
Arkadiusz Fal
2022-12-17 16:18:14 +01:00
parent cf0572a94b
commit 8e5bafba58
5 changed files with 43 additions and 80 deletions

View File

@@ -33,17 +33,6 @@ struct PlayerQueueRow: View {
return
}
#if os(iOS)
guard !video.localStreamIsDirectory else {
if let url = video.localStream?.localURL {
withAnimation {
DocumentsModel.shared.goToURL(url)
}
}
return
}
#endif
if video.localStreamIsFile, let url = video.localStream?.localURL {
URLBookmarkModel.shared.saveBookmark(url)
}