mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Added Private Icons
This commit is contained in:
parent
5b081ec8a7
commit
45df2bce99
4 changed files with 40 additions and 8 deletions
|
|
@ -110,13 +110,13 @@ struct DoNotDisturbLiveActivity: View {
|
|||
}
|
||||
}
|
||||
|
||||
private var currentIconName: String {
|
||||
private var currentIcon: Image {
|
||||
if manager.isDoNotDisturbActive {
|
||||
return focusMode.sfSymbol
|
||||
return focusMode.activeIcon
|
||||
} else if showInactiveIcon {
|
||||
return focusMode.inactiveSymbol
|
||||
return Image(systemName: focusMode.inactiveSymbol)
|
||||
} else {
|
||||
return focusMode.sfSymbol
|
||||
return focusMode.activeIcon
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -136,7 +136,7 @@ struct DoNotDisturbLiveActivity: View {
|
|||
Color.clear
|
||||
.overlay(alignment: .center) {
|
||||
if iconWingWidth > 0 {
|
||||
Image(systemName: currentIconName)
|
||||
currentIcon
|
||||
.font(.system(size: 13, weight: .semibold))
|
||||
.foregroundColor(currentIconColor)
|
||||
.contentTransition(.opacity)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue