mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 15:44:32 +00:00
Update stuff, but sneak peek still broken
This commit is contained in:
parent
88692a241a
commit
675f60c9f2
2 changed files with 3 additions and 36 deletions
|
|
@ -1290,9 +1290,7 @@ struct ContentView: View {
|
|||
}
|
||||
|
||||
private func shouldSuppressExtensionCenter(for payload: ExtensionLiveActivityPayload) -> Bool {
|
||||
guard vm.notchState == .closed else { return false }
|
||||
let config = payload.descriptor.sneakPeekConfig ?? .default
|
||||
return config.enabled
|
||||
vm.notchState == .closed
|
||||
}
|
||||
|
||||
@MainActor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue