Added Private Icons

This commit is contained in:
Hariharan Mudaliar 2025-11-14 11:22:16 +05:30
commit 45df2bce99
4 changed files with 40 additions and 8 deletions

View file

@ -342,6 +342,24 @@ enum FocusModeType: String, CaseIterable {
}
}
var internalSymbolName: String? {
switch self {
case .work: return "person.lanyardcard.fill"
case .mindfulness: return "apple.mindfulness"
case .gaming: return "rocket.fill"
default: return nil
}
}
var activeIcon: Image {
if let internalSymbolName,
let image = Image(internalSystemName: internalSymbolName) {
return image
}
return Image(systemName: sfSymbol)
}
var accentColor: Color {
switch self {
case .doNotDisturb: