2022-07-14 07:14:43 -07:00
|
|
|
//
|
|
|
|
|
// SaveChannelQRCode.swift
|
|
|
|
|
// Meshtastic
|
|
|
|
|
//
|
|
|
|
|
// Copyright(c) Garth Vander Houwen 7/13/22.
|
|
|
|
|
//
|
|
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
|
|
struct SaveChannelQRCode: View {
|
|
|
|
|
|
2022-08-03 16:56:44 -07:00
|
|
|
var channelHash: String
|
2022-07-14 07:14:43 -07:00
|
|
|
|
|
|
|
|
var body: some View {
|
|
|
|
|
|
|
|
|
|
VStack {
|
|
|
|
|
|
|
|
|
|
Text("Save Channel Settings?")
|
|
|
|
|
.font(.title)
|
|
|
|
|
|
|
|
|
|
Text("The settings embedded in this QR code will replace the current settings on your radio.")
|
|
|
|
|
.foregroundColor(.gray)
|
|
|
|
|
.font(.callout)
|
|
|
|
|
.padding()
|
|
|
|
|
|
2022-08-03 16:56:44 -07:00
|
|
|
Text(channelHash)
|
2022-07-14 07:14:43 -07:00
|
|
|
.font(.title2)
|
|
|
|
|
.padding()
|
|
|
|
|
|
2022-07-27 20:22:40 -07:00
|
|
|
Text("This does not work yet.")
|
2022-07-14 07:14:43 -07:00
|
|
|
.font(.callout)
|
|
|
|
|
.padding()
|
|
|
|
|
|
|
|
|
|
|
2022-07-27 20:22:40 -07:00
|
|
|
Text("Swipe down to dismiss.")
|
2022-07-14 07:14:43 -07:00
|
|
|
.padding()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|