mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Fix: Sneak peek
This commit is contained in:
parent
b46d88c79a
commit
6f4f1ae893
4 changed files with 25 additions and 23 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue