mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 23:24:32 +00:00
Added Private Icons
This commit is contained in:
parent
5b081ec8a7
commit
45df2bce99
4 changed files with 40 additions and 8 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue