Keep lock screen controls within a compact card

This commit is contained in:
2026-09-13 11:41:24 +03:00
parent 1e02247cbe
commit 43c78b2a99
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -34,6 +34,7 @@ final class LiveActivityManager: ObservableObject {
func start(_ state: MediaState, connection: Connection) {
guard !running, state.hasSession, UIApplication.shared.applicationState == .active else { return }
guard connection.token != nil else { error = "Сначала выполните сопряжение с ПК."; return }
guard ActivityAuthorizationInfo().areActivitiesEnabled else {
error = "Разрешите Live Activities в настройках MusicBridge на iPhone."
return