mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 23:24:32 +00:00
Fix: Calendar too wide when music is disabled
This commit is contained in:
parent
53a9fdb112
commit
4ec5c84b9c
5 changed files with 499 additions and 18 deletions
|
|
@ -552,11 +552,18 @@ struct NotchHomeView: View {
|
|||
}
|
||||
|
||||
if Defaults[.showCalendar] {
|
||||
CalendarView()
|
||||
.onHover { isHovering in
|
||||
vm.isHoveringCalendar = isHovering
|
||||
Group {
|
||||
if showStandardMediaControls {
|
||||
CalendarView()
|
||||
} else {
|
||||
StandaloneCalendarView()
|
||||
}
|
||||
.environmentObject(vm)
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.onHover { isHovering in
|
||||
vm.isHoveringCalendar = isHovering
|
||||
}
|
||||
.environmentObject(vm)
|
||||
}
|
||||
|
||||
if Defaults[.showMirror],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue