Reformat article variables

This commit is contained in:
Maurice Parker 2019-09-11 09:16:04 -05:00
parent 19c8f9a067
commit c44fcbc198
1 changed files with 2 additions and 1 deletions

View File

@ -215,8 +215,9 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
return nil return nil
} }
private(set) var articles = ArticleArray()
var currentArticle: Article? var currentArticle: Article?
private(set) var articles = ArticleArray()
private var currentArticleRow: Int? { private var currentArticleRow: Int? {
guard let article = currentArticle else { return nil } guard let article = currentArticle else { return nil }
return articles.firstIndex(of: article) return articles.firstIndex(of: article)