Reformat article variables
This commit is contained in:
parent
19c8f9a067
commit
c44fcbc198
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue