mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Conform URL to ExpressibleByStringLiteral (#1214)
This commit is contained in:
@@ -120,7 +120,7 @@ class MediaPreviewItem: NSObject, QLPreviewItem {
|
||||
// MARK: - Previews
|
||||
|
||||
struct PreviewView_Previews: PreviewProvider {
|
||||
static let previewURL = URL(staticString: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf")
|
||||
static let previewURL: URL = "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
|
||||
static let previewItem = MediaPreviewItem(file: .unmanaged(url: previewURL),
|
||||
title: "Important Document")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user