mirror of
https://github.com/yattee/yattee.git
synced 2026-04-10 09:36:58 +00:00
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:
@@ -101,6 +101,7 @@ struct iCloudSettingsView: View {
|
||||
} message: {
|
||||
Text(String(localized: "settings.icloud.enable.confirmation.message"))
|
||||
}
|
||||
.presentationCompactAdaptation(.sheet)
|
||||
.confirmationDialog(
|
||||
String(localized: "settings.icloud.disable.confirmation.title"),
|
||||
isPresented: $showingDisableConfirmation,
|
||||
@@ -113,6 +114,7 @@ struct iCloudSettingsView: View {
|
||||
} message: {
|
||||
Text(String(localized: "settings.icloud.disable.confirmation.message"))
|
||||
}
|
||||
.presentationCompactAdaptation(.sheet)
|
||||
// Confirmation for categories that replace local data (instances, settings, media sources)
|
||||
.confirmationDialog(
|
||||
String(localized: "settings.icloud.category.enable.title"),
|
||||
@@ -134,6 +136,7 @@ struct iCloudSettingsView: View {
|
||||
} message: {
|
||||
Text(String(localized: "settings.icloud.category.enable.message"))
|
||||
}
|
||||
.presentationCompactAdaptation(.sheet)
|
||||
// Confirmation for categories that upload/merge local data (subscriptions, bookmarks, playlists, history)
|
||||
.confirmationDialog(
|
||||
String(localized: "settings.icloud.category.sync.title"),
|
||||
@@ -155,6 +158,7 @@ struct iCloudSettingsView: View {
|
||||
} message: {
|
||||
Text(String(localized: "settings.icloud.category.sync.message"))
|
||||
}
|
||||
.presentationCompactAdaptation(.sheet)
|
||||
}
|
||||
|
||||
// MARK: - Sync Categories Section
|
||||
|
||||
Reference in New Issue
Block a user