From c44fcbc198312acfc3f9cc3b7461a08cb0f4a332 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 11 Sep 2019 09:16:04 -0500 Subject: [PATCH] Reformat article variables --- iOS/SceneCoordinator.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 117ceda8a..b738f96f0 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -215,8 +215,9 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { return nil } - private(set) var articles = ArticleArray() var currentArticle: Article? + + private(set) var articles = ArticleArray() private var currentArticleRow: Int? { guard let article = currentArticle else { return nil } return articles.firstIndex(of: article)