Meshtastic-Apple/Meshtastic/Views/Settings/SaveChannelQRCode.swift
Garth Vander Houwen 750db0437c CSV export
2022-07-15 15:01:42 -07:00

40 lines
701 B
Swift

//
// SaveChannelQRCode.swift
// Meshtastic
//
// Copyright(c) Garth Vander Houwen 7/13/22.
//
import SwiftUI
struct SaveChannelQRCode: View {
var channelHash: URL?
var body: some View {
// Show an error if there is no e/ or other validation problems
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()
Text(String(channelHash?.path ?? "empty"))
.font(.title2)
.padding()
Text("Blah blah.")
.font(.callout)
.padding()
Text("This is forever")
.padding()
}
}
}