[Widgets]: cleanup: refactored to use guard-else flow instead of if-else flow

This commit is contained in:
Magesh K
2025-01-11 21:31:10 +05:30
parent 720a397dd4
commit ba825d4218
6 changed files with 198 additions and 153 deletions

View File

@@ -10,6 +10,7 @@ import AppIntents
@available(iOS 17, *)
final class WidgetUpdateIntent: WidgetConfigurationIntent, @unchecked Sendable {
public static let COMMON_WIDGET_ID = 1
static var title: LocalizedStringResource { "Widget ID update Intent" }
static var isDiscoverable: Bool { false }