2025-01-10 08:11:35 +05:30
|
|
|
//
|
|
|
|
|
// WidgetUpdateIntent.swift
|
|
|
|
|
// AltStore
|
|
|
|
|
//
|
|
|
|
|
// Created by Magesh K on 10/01/25.
|
|
|
|
|
// Copyright © 2025 SideStore. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import AppIntents
|
|
|
|
|
|
|
|
|
|
@available(iOS 17, *)
|
|
|
|
|
final class WidgetUpdateIntent: WidgetConfigurationIntent, @unchecked Sendable {
|
2025-01-11 21:31:10 +05:30
|
|
|
public static let COMMON_WIDGET_ID = 1
|
2025-01-10 08:11:35 +05:30
|
|
|
|
2025-01-11 03:25:25 +05:30
|
|
|
static var title: LocalizedStringResource { "Widget ID update Intent" }
|
2025-01-10 08:11:35 +05:30
|
|
|
static var isDiscoverable: Bool { false }
|
|
|
|
|
|
2025-01-11 03:25:25 +05:30
|
|
|
@Parameter(title: "ID", description: "Provide a numeric ID to identify the widget", default: 1)
|
|
|
|
|
var ID: Int?
|
2025-01-10 08:11:35 +05:30
|
|
|
}
|