Skip to content

Commit 737a0c9

Browse files
swiftlint fix
1 parent d8ee3af commit 737a0c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

firefox-ios/Client/Frontend/Browser/DownloadHelper/DownloadLiveActivityWrapper.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class DownloadLiveActivityWrapper: DownloadProgressDelegate {
5959

6060
private func shouldUpdateLiveActivity() -> Bool {
6161
let currentTime = Date()
62-
62+
6363
guard currentTime.timeIntervalSince(lastUpdateTime) >= UX.updateCooldown else {return false}
6464
lastUpdateTime = currentTime
6565
return true

firefox-ios/WidgetKit/DownloadManager/DownloadLiveActivity.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ struct DownloadLiveActivity: Widget {
301301
}
302302
var body: some WidgetConfiguration {
303303
ActivityConfiguration(for: DownloadLiveActivityAttributes.self) { liveDownload in
304-
lockScreenView(liveDownload: liveDownload).transition(.identity)
304+
lockScreenView(liveDownload: liveDownload)
305305
} dynamicIsland: { liveDownload in
306306
DynamicIsland {
307307
leadingExpandedRegion(liveDownload: liveDownload)

0 commit comments

Comments
 (0)