From 255d23864668f1c88b84c3c8b6e88db5adb671ae Mon Sep 17 00:00:00 2001 From: Stuar Breckenridge Date: Sat, 21 Jun 2025 23:05:55 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Rename=20`isRefreshSchedul?= =?UTF-8?q?ed`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iOS/SceneCoordinator.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 71c9e5efd..360d9cba3 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -85,7 +85,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner { var isArticleViewControllerPending = false /// `Bool` to track whether a refresh is scheduled. - private var isRefreshScheduled: Bool = false + private var isNavigationBarSubtitleRefreshScheduled: Bool = false private(set) var sortDirection = AppDefaults.shared.timelineSortDirection { didSet { @@ -628,12 +628,12 @@ class SceneCoordinator: NSObject, UndoableCommandRunner { } func scheduleNavigationBarSubtitleUpdate() { - if isRefreshScheduled { + if isNavigationBarSubtitleRefreshScheduled { return } - isRefreshScheduled = true + isNavigationBarSubtitleRefreshScheduled = true DispatchQueue.main.asyncAfter(deadline: .now() + 60) { [weak self] in - self?.isRefreshScheduled = false + self?.isNavigationBarSubtitleRefreshScheduled = false self?.updateNavigationBarSubtitles(nil) } }