Update stuff, but sneak peek still broken

This commit is contained in:
Hariharan Mudaliar 2026-01-16 00:00:02 +05:30
commit 675f60c9f2
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
2 changed files with 3 additions and 36 deletions

View file

@ -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