Merge pull request #1604 from Wevah/ios-candidate
Update to latest RSCore
This commit is contained in:
commit
71a7592a5e
|
@ -85,7 +85,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
||||||
NSWindow.allowsAutomaticWindowTabbing = false
|
NSWindow.allowsAutomaticWindowTabbing = false
|
||||||
super.init()
|
super.init()
|
||||||
|
|
||||||
AccountManager.shared = AccountManager(accountsFolder: RSDataSubfolder(nil, "Accounts")!)
|
AccountManager.shared = AccountManager(accountsFolder: Platform.dataSubfolder(forApplication: nil, folderName: "Accounts")!)
|
||||||
|
|
||||||
NotificationCenter.default.addObserver(self, selector: #selector(unreadCountDidChange(_:)), name: .UnreadCountDidChange, object: nil)
|
NotificationCenter.default.addObserver(self, selector: #selector(unreadCountDidChange(_:)), name: .UnreadCountDidChange, object: nil)
|
||||||
NotificationCenter.default.addObserver(self, selector: #selector(inspectableObjectsDidChange(_:)), name: .InspectableObjectsDidChange, object: nil)
|
NotificationCenter.default.addObserver(self, selector: #selector(inspectableObjectsDidChange(_:)), name: .InspectableObjectsDidChange, object: nil)
|
||||||
|
|
|
@ -98,7 +98,7 @@ class AddFeedController: AddFeedWindowControllerDelegate {
|
||||||
private extension AddFeedController {
|
private extension AddFeedController {
|
||||||
|
|
||||||
var urlStringFromPasteboard: String? {
|
var urlStringFromPasteboard: String? {
|
||||||
if let urlString = NSPasteboard.rs_urlString(from: NSPasteboard.general) {
|
if let urlString = NSPasteboard.urlString(from: NSPasteboard.general) {
|
||||||
return urlString.rs_normalizedURL()
|
return urlString.rs_normalizedURL()
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -24,7 +24,7 @@ private let styleSuffixes = [styleSuffix, nnwStyleSuffix, cssStyleSuffix];
|
||||||
final class ArticleStylesManager {
|
final class ArticleStylesManager {
|
||||||
|
|
||||||
static let shared = ArticleStylesManager()
|
static let shared = ArticleStylesManager()
|
||||||
private let folderPath = RSDataSubfolder(nil, stylesFolderName)!
|
private let folderPath = Platform.dataSubfolder(forApplication: nil, folderName: stylesFolderName)!
|
||||||
|
|
||||||
var currentStyleName: String {
|
var currentStyleName: String {
|
||||||
get {
|
get {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 525f0d9ad5edd49108ccdecb4e47dbe10e9bb217
|
Subproject commit 806d1fdc16511a9469bf2a18348caf9f20ff8cdc
|
Loading…
Reference in New Issue