Refactor profile management

This commit is contained in:
世界
2025-12-03 11:15:56 +08:00
parent adf4e5c75c
commit 727136f187
22 changed files with 1635 additions and 787 deletions
@@ -53,7 +53,12 @@ public struct QRCodeSheet: View {
}
public var body: some View {
#if os(iOS) || os(tvOS)
#if os(macOS)
NavigationSheet {
QRCodeContentView(profileName: profileName, remoteURL: remoteURL)
}
.frame(minWidth: 400, minHeight: 400)
#elseif os(iOS) || os(tvOS)
if #available(iOS 16.0, tvOS 17.0, *) {
NavigationStackCompat {
QRCodeContentView(profileName: profileName, remoteURL: remoteURL)