mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 07:34:32 +00:00
Update DND UI for toast mode
This commit is contained in:
parent
2ce6a3ae96
commit
83cca50a66
4 changed files with 169 additions and 26 deletions
|
|
@ -352,7 +352,12 @@ enum FocusModeType: String, CaseIterable {
|
|||
}
|
||||
|
||||
var activeIcon: Image {
|
||||
if let internalSymbolName,
|
||||
resolvedActiveIcon()
|
||||
}
|
||||
|
||||
func resolvedActiveIcon(usePrivateSymbol: Bool = true) -> Image {
|
||||
if usePrivateSymbol,
|
||||
let internalSymbolName,
|
||||
let image = Image(internalSystemName: internalSymbolName) {
|
||||
return image
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue