make all sheets on the main body

fix crash when backgrounding the app
This commit is contained in:
Trey t
2022-03-17 14:57:32 -05:00
parent 0113e2304a
commit f87d216e65
6 changed files with 46 additions and 47 deletions

View File

@@ -133,16 +133,15 @@ struct SharingListView: View {
}
}
.padding([.top, .bottom])
.background(
theme.currentTheme.bg
.edgesIgnoringSafeArea(.top)
)
.sheet(isPresented: $selectedShare.showFuckingSheet,
onDismiss: didDismiss) {
onDismiss: didDismiss) {
selectedShare.fuckingWrappedShrable?.destination
}
.padding([.top, .bottom])
}
func share(image: UIImage) {