mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Detents
This commit is contained in:
parent
c095f2d83e
commit
1b0d569568
3 changed files with 6 additions and 3 deletions
|
|
@ -37,6 +37,8 @@ struct MeshtasticAppleApp: App {
|
|||
.sheet(isPresented: $saveQR) {
|
||||
|
||||
SaveChannelQRCode(channelHash: channelUrl?.absoluteString ?? "Empty Channel URL")
|
||||
.presentationDetents([.medium, .large])
|
||||
.presentationDragIndicator(.visible)
|
||||
}
|
||||
.onOpenURL(perform: { (url) in
|
||||
|
||||
|
|
|
|||
|
|
@ -268,7 +268,10 @@ struct Connect: View {
|
|||
.sheet(isPresented: $invalidFirmwareVersion, onDismiss: didDismissSheet) {
|
||||
|
||||
InvalidVersion(minimumVersion: self.bleManager.minimumVersion, version: self.bleManager.connectedVersion)
|
||||
.presentationDetents([.large])
|
||||
.presentationDragIndicator(.automatic)
|
||||
}
|
||||
|
||||
|
||||
.onChange(of: (self.bleManager.invalidVersion)) { cv in
|
||||
|
||||
|
|
|
|||
|
|
@ -136,8 +136,6 @@ struct ShareChannels: View {
|
|||
let qrImage = qrCodeImage.generateQRCode(from: channelsUrl)
|
||||
|
||||
VStack {
|
||||
|
||||
Divider()
|
||||
|
||||
ShareLink("Share QR Code & Link",
|
||||
item: Image(uiImage: qrImage),
|
||||
|
|
@ -146,7 +144,7 @@ struct ShareChannels: View {
|
|||
preview: SharePreview("Meshtastic Node \(node?.user?.shortName ?? "????") has shared channels with you",
|
||||
image: Image(uiImage: qrImage))
|
||||
)
|
||||
.presentationDetents([.medium, .large])
|
||||
|
||||
|
||||
Divider()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue