Meshtastic-Apple/Meshtastic/Tips/ChannelTips.swift

28 lines
457 B
Swift
Raw Normal View History

2023-08-31 22:39:51 -07:00
//
// ChannelTips.swift
// Meshtastic
//
// Copyright(c) Garth Vander Houwen 8/31/23.
//
import SwiftUI
#if canImport(TipKit)
import TipKit
#endif
@available(iOS 17.0, macOS 14.0, *)
struct ShareChannelsTip: Tip {
var id: String {
2023-09-15 19:20:45 -07:00
return "tip.channels.share"
2023-08-31 22:39:51 -07:00
}
var title: Text {
2023-09-15 19:20:45 -07:00
Text("tip.channels.share.title")
2023-08-31 22:39:51 -07:00
}
var message: Text? {
2023-09-15 19:20:45 -07:00
Text("tip.channels.share.message")
2023-08-31 22:39:51 -07:00
}
var image: Image? {
Image(systemName: "qrcode")
2023-08-31 22:39:51 -07:00
}
}