mirror of
https://github.com/yattee/yattee.git
synced 2025-10-15 03:48:11 +00:00
Use Swift 5.7 if-let style
This commit is contained in:
@@ -48,7 +48,7 @@ struct ControlsBar: View {
|
||||
#if os(iOS)
|
||||
.background(
|
||||
EmptyView().sheet(isPresented: $presentingShareSheet) {
|
||||
if let shareURL = shareURL {
|
||||
if let shareURL {
|
||||
ShareSheet(activityItems: [shareURL])
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user