Skip to content

Commit

Permalink
Chnage the gauge and details identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
literally-anything committed Jun 30, 2024
1 parent 41ab442 commit 15bcc7c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/Extensions/Widgets/Details/WidgetDetails.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import WidgetKit
struct WidgetDetails: Widget {
var body: some WidgetConfiguration {
AppIntentConfiguration(
kind: "WidgetDetails",
kind: "io.robbie.HomeAssistant.widget-details",
intent: WidgetDetailsAppIntent.self,
provider: WidgetDetailsAppIntentTimelineProvider()
) { timelineEntry in
Expand Down
2 changes: 1 addition & 1 deletion Sources/Extensions/Widgets/Gauge/WidgetGauge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import WidgetKit
struct WidgetGauge: Widget {
var body: some WidgetConfiguration {
AppIntentConfiguration(
kind: "WidgetGauge",
kind: "io.robbie.HomeAssistant.widget-gauge",
intent: WidgetGaugeAppIntent.self,
provider: WidgetGaugeAppIntentTimelineProvider()
) { timelineEntry in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ private struct HandlerReloadWidgets: NotificationCommandHandler {
Current.Log.verbose("reloading widgets")
return Promise<Void> { seal in
DispatchQueue.main.async {
WidgetCenter.shared.reloadTimelines(ofKind: "WidgetGauge")
WidgetCenter.shared.reloadTimelines(ofKind: "WidgetDetails")
WidgetCenter.shared.reloadTimelines(ofKind: "io.robbie.HomeAssistant.widget-gauge")
WidgetCenter.shared.reloadTimelines(ofKind: "io.robbie.HomeAssistant.widget-details")
seal.fulfill(())

Check warning on line 109 in Sources/Shared/Notifications/NotificationCommands/NotificationsCommandManager.swift

View check run for this annotation

Codecov / codecov/patch

Sources/Shared/Notifications/NotificationCommands/NotificationsCommandManager.swift#L103-L109

Added lines #L103 - L109 were not covered by tests
}
}
Expand Down

0 comments on commit 15bcc7c

Please sign in to comment.