Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "WordPressKit",
url: "https://github.com/user-attachments/files/18209758/WordPressKit.zip",
checksum: "2c9fa7ed59864c01c8af7dc0b5dd8cbc26558799487fad3ab9e128cfbd8dae64"
url: "https://github.com/user-attachments/files/18378391/WordPressKit.zip",
checksum: "afba972825502b7479ee7dd6bdbe88cda630d19c95f372b85ffc760b9ba60aac"
),
]
)
4 changes: 3 additions & 1 deletion Sources/WordPressKit/Models/RemoteReaderTopic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Foundation
public var path: String?
public var slug: String?
public var title: String?
public var displayName: String?
public var topicDescription: String?
public var topicID: NSNumber
public var type: String?
Expand All @@ -25,7 +26,8 @@ import Foundation
owner = topicDict.string(forKey: topicDictionaryOwnerKey)
path = topicDict.string(forKey: topicDictionaryURLKey)?.lowercased()
slug = topicDict.string(forKey: topicDictionarySlugKey)
title = topicDict.string(forKey: topicDictionaryDisplayNameKey) ?? topicDict.string(forKey: topicDictionaryTitleKey)
title = topicDict.string(forKey: topicDictionaryTitleKey)
displayName = topicDict.string(forKey: topicDictionaryDisplayNameKey)
type = topicDict.string(forKey: topicDictionaryTypeKey)
organizationID = topicDict.number(forKeyPath: topicDictionaryOrganizationIDKey) ?? 0
isSubscribed = subscribed
Expand Down
Loading