Fix 5 TestFlight crash types from builds 250-254

- Fix BGTaskScheduler assertion crash on Mac Catalyst by guarding all
  iOS background task APIs with isMacCatalystApp check
- Fix iPad popover crash in UIPopoverPresentationController by adding
  .presentationCompactAdaptation(.sheet) to all 27 confirmationDialogs
- Fix SwiftData assertion crash when accessing deleted Bookmark model
  properties during SwiftUI hit testing in BookmarkRowView
- Fix UICollectionView invalid item count crash on queue swipe-to-delete
  by using ID-based removal with withAnimation instead of stale index
- Fix Range crash in storyboard download when storyboardCount is zero
This commit is contained in:
Arkadiusz Fal
2026-03-27 17:52:08 +01:00
parent 2db78c429e
commit 3c04b8540f
22 changed files with 59 additions and 3 deletions

View File

@@ -49,6 +49,7 @@ struct AdvancedSettingsView: View {
}
Button(String(localized: "common.cancel"), role: .cancel) {}
}
.presentationCompactAdaptation(.sheet)
.onAppear {
userAgentText = settingsManager.customUserAgent
#if !os(tvOS)
@@ -68,6 +69,7 @@ struct AdvancedSettingsView: View {
} message: {
Text(String(localized: "settings.advanced.storage.deleteOrphaned.message \(orphanedFilesCount) \(formatBytes(orphanedFilesSize))"))
}
.presentationCompactAdaptation(.sheet)
.alert(
String(localized: "settings.advanced.storage.cleanupComplete"),
isPresented: $showingOrphanCleanupResult