mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-19 12:56:06 +00:00
Fix strings, share menu
This commit is contained in:
1 parent
89d892eea9
commit
4a13fd049f
20 files changed
+28
-29
No files matched your search
@@ -0,0 +1,48 @@
|
||||
//
|
||||
// QrCodeVIew.swift
|
||||
// QuickDrop
|
||||
//
|
||||
// Created by Leon Böttger on 10.03.25.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
let qrCodeViewSize = CGSize(width: 600.0, height: 310.0)
|
||||
|
||||
struct QrCodeView: View {
|
||||
@State private var qrCode: String = ""
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
|
||||
Spacer()
|
||||
|
||||
HStack {
|
||||
Spacer()
|
||||
|
||||
Image("QR")
|
||||
.resizable()
|
||||
.aspectRatio(1, contentMode: .fit)
|
||||
.frame(height: 230)
|
||||
|
||||
Spacer()
|
||||
|
||||
Text("QrCodeInstructions".localized())
|
||||
.padding(.top)
|
||||
.padding(.horizontal)
|
||||
.multilineTextAlignment(.center)
|
||||
|
||||
Spacer()
|
||||
}
|
||||
.padding(.horizontal)
|
||||
|
||||
Spacer()
|
||||
}
|
||||
.frame(width: qrCodeViewSize.width, height: qrCodeViewSize.height)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#Preview {
|
||||
QrCodeView()
|
||||
}
|
||||
Reference in new issue
Block a user