mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
56 lines
967 B
Swift
56 lines
967 B
Swift
//
|
|
// ChannelTips.swift
|
|
// Meshtastic
|
|
//
|
|
// Copyright(c) Garth Vander Houwen 8/31/23.
|
|
//
|
|
import SwiftUI
|
|
import TipKit
|
|
|
|
struct ShareChannelsTip: Tip {
|
|
|
|
var id: String {
|
|
return "tip.channels.share"
|
|
}
|
|
var title: Text {
|
|
Text("tip.channels.share.title")
|
|
}
|
|
var message: Text? {
|
|
Text("tip.channels.share.message")
|
|
}
|
|
var image: Image? {
|
|
Image(systemName: "qrcode")
|
|
}
|
|
}
|
|
|
|
struct CreateChannelsTip: Tip {
|
|
|
|
var id: String {
|
|
return "tip.channels.create"
|
|
}
|
|
var title: Text {
|
|
Text("tip.channels.create.title")
|
|
}
|
|
var message: Text? {
|
|
Text("tip.channels.create.message")
|
|
}
|
|
var image: Image? {
|
|
Image(systemName: "fibrechannel")
|
|
}
|
|
}
|
|
|
|
struct AdminChannelTip: Tip {
|
|
|
|
var id: String {
|
|
return "tip.channel.admin"
|
|
}
|
|
var title: Text {
|
|
Text("tip.channel.admin.title")
|
|
}
|
|
var message: Text? {
|
|
Text("tip.channel.admin.message")
|
|
}
|
|
var image: Image? {
|
|
Image(systemName: "fibrechannel")
|
|
}
|
|
}
|