mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Make progress on iOS SidebarViewController.
This commit is contained in:
@@ -193,9 +193,11 @@ public final class Feed: SidebarItem, Renamable, Hashable {
|
||||
if let s = name, !s.isEmpty {
|
||||
return s
|
||||
}
|
||||
return NSLocalizedString("Untitled", comment: "Feed name")
|
||||
return Self.untitledName
|
||||
}
|
||||
|
||||
public static let untitledName = NSLocalizedString("Untitled", comment: "Feed name")
|
||||
|
||||
// MARK: - Renamable
|
||||
|
||||
public func rename(to newName: String, completion: @escaping (Result<Void, Error>) -> Void) {
|
||||
|
||||
@@ -42,7 +42,7 @@ public final class Folder: SidebarItem, Renamable, Container, Hashable {
|
||||
}
|
||||
}
|
||||
|
||||
static let untitledName = NSLocalizedString("Untitled ƒ", comment: "Folder name")
|
||||
public static let untitledName = NSLocalizedString("Untitled ƒ", comment: "Folder name")
|
||||
public let folderID: Int // not saved: per-run only
|
||||
public var externalID: String?
|
||||
static var incrementingID = 0
|
||||
|
||||
Reference in New Issue
Block a user