mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-27 01:21:19 +01:00
28 lines
648 B
Swift
28 lines
648 B
Swift
|
//
|
||
|
// WalletAppShortcuts.swift
|
||
|
// BlueWallet
|
||
|
//
|
||
|
// Created by Marcos Rodriguez on 10/27/24.
|
||
|
// Copyright © 2024 BlueWallet. All rights reserved.
|
||
|
//
|
||
|
|
||
|
|
||
|
import AppIntents
|
||
|
@available(iOS 16.4, *)
|
||
|
struct WalletAppShortcuts: AppShortcutsProvider {
|
||
|
|
||
|
@AppShortcutsBuilder
|
||
|
static var appShortcuts: [AppShortcut] {
|
||
|
AppShortcut(
|
||
|
intent: PriceIntent(),
|
||
|
phrases: [
|
||
|
"Market Rate \(.applicationName)",
|
||
|
"Get the current Bitcoin market rate in \(.applicationName)"
|
||
|
],
|
||
|
shortTitle: "Market Rate",
|
||
|
systemImageName: "bitcoinsign.circle"
|
||
|
)
|
||
|
|
||
|
}
|
||
|
}
|