Fix Scroll Effect on the notch notes and clipboard

This commit is contained in:
Hariharan Mudaliar 2025-12-24 23:56:08 +05:30
commit adc28fcf2f
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
6 changed files with 152 additions and 8 deletions

View file

@ -7,6 +7,7 @@
import Foundation
import Defaults
import CoreGraphics
public enum Style {
case notch
@ -34,6 +35,23 @@ public enum NotchViews {
case clipboard
}
enum NotesLayoutState: Equatable {
case list
case split
case editor
var preferredHeight: CGFloat {
switch self {
case .list:
return 240
case .split:
return 260
case .editor:
return 320
}
}
}
enum SettingsEnum {
case general
case about