mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
21 lines
559 B
Swift
21 lines
559 B
Swift
//
|
|
// 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 {
|
|
public static let COMMON_WIDGET_ID = 1
|
|
|
|
static var title: LocalizedStringResource { "Widget ID update Intent" }
|
|
static var isDiscoverable: Bool { false }
|
|
|
|
@Parameter(title: "ID", description: "Provide a numeric ID to identify the widget", default: 1)
|
|
var ID: Int?
|
|
}
|