Fix urls handling from pasteboard

This commit is contained in:
Arkadiusz Fal 2022-11-11 16:33:28 +01:00
parent 8978bf3f33
commit 6ca6a40aa1

View File

@ -50,8 +50,8 @@ struct OpenVideosModel {
var urlsFromClipboard: [URL] {
#if os(iOS)
if let pasteboard = UIPasteboard.general.string {
return urlsFrom(pasteboard)
if let pasteboard = UIPasteboard.general.urls {
return pasteboard
}
#elseif os(macOS)
if let pasteboard = NSPasteboard.general.string(forType: .string) {