mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
fixed bugs and made a better version of the circular hud
This commit is contained in:
parent
04f4cdc737
commit
4be4c36bb4
2 changed files with 37 additions and 25 deletions
|
|
@ -56,6 +56,13 @@ struct SystemEventIndicatorModifier: View {
|
|||
.contentTransition(.interpolate)
|
||||
.frame(width: 20, height: 15)
|
||||
.foregroundStyle(.white)
|
||||
case .bluetoothAudio:
|
||||
if !icon.isEmpty {
|
||||
Image(systemName: icon)
|
||||
.contentTransition(.interpolate)
|
||||
.frame(width: 20, height: 15)
|
||||
.foregroundStyle(.white)
|
||||
}
|
||||
default:
|
||||
EmptyView()
|
||||
}
|
||||
|
|
@ -72,6 +79,8 @@ struct SystemEventIndicatorModifier: View {
|
|||
ProgressSection(value: $value, showPercentages: showProgressPercentages)
|
||||
case .backlight:
|
||||
ProgressSection(value: $value, showPercentages: showProgressPercentages)
|
||||
case .bluetoothAudio:
|
||||
ProgressSection(value: $value, showPercentages: showProgressPercentages, colorMode: .battery)
|
||||
default:
|
||||
ProgressSection(value: $value, showPercentages: showProgressPercentages)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue