mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Merge branch 'pr-177' into feature/clipboard
This is a trial merge
This commit is contained in:
commit
722363cdca
11 changed files with 1229 additions and 11 deletions
|
|
@ -45,6 +45,14 @@ struct ContentView: View {
|
|||
var dynamicNotchSize: CGSize {
|
||||
var baseSize = Defaults[.enableMinimalisticUI] ? minimalisticOpenNotchSize : openNotchSize
|
||||
|
||||
if coordinator.currentView == .timer {
|
||||
return CGSize(width: baseSize.width, height: 250) // Extra height for timer presets
|
||||
}
|
||||
|
||||
if coordinator.currentView == .notes || coordinator.currentView == .clipboard {
|
||||
return CGSize(width: baseSize.width, height: 230) // Consistent height for split views
|
||||
}
|
||||
|
||||
guard coordinator.currentView == .stats else {
|
||||
return baseSize
|
||||
}
|
||||
|
|
@ -580,6 +588,10 @@ struct ContentView: View {
|
|||
NotchStatsView()
|
||||
case .colorPicker:
|
||||
NotchColorPickerView()
|
||||
case .notes:
|
||||
NotchNotesView()
|
||||
case .clipboard:
|
||||
NotchNotesView()
|
||||
}
|
||||
}
|
||||
.transition(.asymmetric(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue