Fix: Sneak peek

This commit is contained in:
Hariharan Mudaliar 2026-03-03 13:51:23 +05:30
commit 6f4f1ae893
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
4 changed files with 25 additions and 23 deletions

View file

@ -2308,21 +2308,9 @@ struct Media: View {
Text(style.rawValue).tag(style)
}
}
.disabled(!enableSneakPeek || enableMinimalisticUI)
.onChange(of: enableMinimalisticUI) { _, isMinimalistic in
// Force standard sneak peek style when minimalistic UI is enabled
if isMinimalistic {
sneakPeekStyles = .standard
}
}
.disabled(!enableSneakPeek)
.settingsHighlight(id: highlightID("Sneak Peek Style"))
if enableMinimalisticUI {
Text("Sneak peek style is locked to Standard in minimalistic mode")
.font(.caption)
.foregroundStyle(.secondary)
}
HStack {
Stepper(value: $waitInterval, in: 0...10, step: 1) {
HStack {