Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
Signed-off-by: Marino Faggiana <[email protected]>
  • Loading branch information
marinofaggiana committed Jan 2, 2025
1 parent f798517 commit 92ca88f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/NextcloudKit/Models/NKRecommendedFiles.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import Foundation
import SwiftyXMLParser

public class NKRecommendation {
public class NKRecommendation: NSObject {
public var id: String
public var timestamp: Date?
public var name: String
Expand All @@ -15,7 +15,7 @@ public class NKRecommendation {
public var hasPreview: Bool
public var reason: String

init(id: String, timestamp: Date?, name: String, directory: String, extensionType: String, mimeType: String, hasPreview: Bool, reason: String) {
public init(id: String, timestamp: Date?, name: String, directory: String, extensionType: String, mimeType: String, hasPreview: Bool, reason: String) {
self.id = id
self.timestamp = timestamp
self.name = name
Expand Down

0 comments on commit 92ca88f

Please sign in to comment.