2024-10-27 18:14:37 -04:00
|
|
|
//
|
|
|
|
// WalletAppShortcuts.swift
|
|
|
|
// BlueWallet
|
2024-10-30 19:16:03 -04:00
|
|
|
|
2024-10-27 18:14:37 -04:00
|
|
|
|
|
|
|
import AppIntents
|
2024-10-28 23:24:20 -04:00
|
|
|
|
2024-10-27 18:14:37 -04:00
|
|
|
@available(iOS 16.4, *)
|
|
|
|
struct WalletAppShortcuts: AppShortcutsProvider {
|
|
|
|
|
|
|
|
@AppShortcutsBuilder
|
|
|
|
static var appShortcuts: [AppShortcut] {
|
|
|
|
AppShortcut(
|
2024-10-28 23:24:20 -04:00
|
|
|
intent: PriceIntent(),
|
2024-10-27 18:14:37 -04:00
|
|
|
phrases: [
|
2024-10-29 19:33:26 -04:00
|
|
|
AppShortcutPhrase<PriceIntent>("Market rate for Bitcoin in \(\.$fiatCurrency) using BlueWallet"),
|
|
|
|
AppShortcutPhrase<PriceIntent>("Get the current Bitcoin market rate in \(\.$fiatCurrency) with BlueWallet"),
|
|
|
|
AppShortcutPhrase<PriceIntent>("What's the current Bitcoin rate in \(\.$fiatCurrency) using BlueWallet?"),
|
|
|
|
AppShortcutPhrase<PriceIntent>("Show me the current Bitcoin price in \(\.$fiatCurrency) via BlueWallet"),
|
|
|
|
AppShortcutPhrase<PriceIntent>("Retrieve Bitcoin rate in \(\.$fiatCurrency) from BlueWallet")
|
2024-10-27 18:14:37 -04:00
|
|
|
],
|
|
|
|
shortTitle: "Market Rate",
|
|
|
|
systemImageName: "bitcoinsign.circle"
|
|
|
|
)
|
2024-10-29 19:33:26 -04:00
|
|
|
|
2024-10-28 23:24:20 -04:00
|
|
|
}
|
2024-10-29 19:33:26 -04:00
|
|
|
}
|