Minor fixes

This commit is contained in:
世界
2024-10-13 21:16:49 +08:00
parent 5e2af0a5c7
commit 6d4ed01a6d
6 changed files with 22 additions and 13 deletions
@@ -76,7 +76,7 @@ public struct ShareButtonCompat<Label>: View where Label: View {
#if os(iOS)
private nonisolated func shareItem0() async {
do {
let shareItem = try itemURL()
let shareItem = try await itemURL()
await MainActor.run {
shareItem1(shareItem)
}