Fix iCloud profile

This commit is contained in:
世界
2026-02-19 16:50:14 +08:00
parent 76d7780464
commit ebe40fb020
5 changed files with 47 additions and 20 deletions
@@ -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"
}
}
}