From 7e42e80b410f99bda334a9d14a7315b69fd34b7d Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 29 Nov 2024 11:01:17 -0800 Subject: [PATCH] Make downloadProgress clear about where it comes from. --- .../Sources/Account/LocalAccount/LocalAccountRefresher.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift b/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift index b769d0df5..1ce8f59fe 100644 --- a/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift +++ b/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift @@ -20,9 +20,9 @@ protocol LocalAccountRefresherDelegate { final class LocalAccountRefresher { var delegate: LocalAccountRefresherDelegate? - lazy var downloadProgress: DownloadProgress = { + var downloadProgress: DownloadProgress { downloadSession.downloadProgress - }() + } private var completion: (() -> Void)? = nil private var isSuspended = false