Skip to content

Commit

Permalink
Fix notification title
Browse files Browse the repository at this point in the history
  • Loading branch information
lucka-me committed Sep 19, 2021
1 parent 238ccfb commit fabf9fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Widget/Shared/Extensions/Service+BackgroundRefresh.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extension Service {
let count = try await refresh(throwWhenMatchRequired: true)
if count > 0 {
UNUserNotificationCenter.current().push(
.init(localized: "notification.refresh.requiresMatch"),
.init(localized: "notification.refresh.refreshFinished"),
.init(format: .init(localized: "notification.refresh.refreshFinished.desc"), count)
)
}
Expand All @@ -27,7 +27,6 @@ extension Service {
.init(localized: "notification.refresh.requiresMatch"),
.init(localized: "notification.refresh.requiresMatch.desc")
)

} catch {
// TODO: Alert
}
Expand Down

0 comments on commit fabf9fe

Please sign in to comment.