From c3e39c955d20b0892012aeea65c5fcc03557f997 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 23 Jul 2026 18:03:21 +0200 Subject: [PATCH] Fix transparent background of iCloud sync overlay on tvOS tvOS full screen covers have a transparent background, so the onboarding view below leaked through the sync progress overlay. Add a black background, matching the legacy accounts import cover. --- Yattee/YatteeApp.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Yattee/YatteeApp.swift b/Yattee/YatteeApp.swift index 5e221469..f1138423 100644 --- a/Yattee/YatteeApp.swift +++ b/Yattee/YatteeApp.swift @@ -182,6 +182,11 @@ struct YatteeApp: App { .fullScreenCover(isPresented: $showingICloudProgress) { ICloudSyncProgressView() .appEnvironment(appEnvironment) + #if os(tvOS) + // tvOS full screen covers have a transparent background, + // letting the view below leak through. + .background(Color.black.ignoresSafeArea()) + #endif } #endif #if os(tvOS)