Hide share URL button on tvOS

This commit is contained in:
世界 committed 2023-10-07 13:24:25 +08:00
1 parent 0eeab5023f
commit 80a65f9095
2 files changed
+11 -9

No files matched your search

@@ -76,11 +76,13 @@ public struct EditProfileView: View {
Text("Share")
}
#endif
ShareButtonCompat($alert) {
Text("Share URL")
} itemURL: {
profile.shareLink
}
#if os(iOS) || os(macOS)
ShareButtonCompat($alert) {
Text("Share URL")
} itemURL: {
profile.shareLink
}
#endif
Button("Update") {
isLoading = true
Task {