Fix iCloud profile

This commit is contained in:
世界 committed 2026-02-19 16:50:14 +08:00
1 parent 76d7780464
commit ebe40fb020
5 files changed
+47 -20

No files matched your search

@@ -0,0 +1,27 @@
import Library
import SwiftUI
extension ProfileType {
// UI presentation intentionally keeps iCloud distinct from Local/Remote export semantics.
var presentationLabel: LocalizedStringKey {
switch self {
case .local:
return "Local"
case .icloud:
return "iCloud"
case .remote:
return "Remote"
}
}
var presentationSymbol: String {
switch self {
case .local:
return "doc.fill"
case .icloud:
return "icloud.fill"
case .remote:
return "cloud.fill"
}
}
}