Hide share URL button on tvOS

This commit is contained in:
世界
2023-10-07 13:24:25 +08:00
parent 0eeab5023f
commit 80a65f9095
2 changed files with 11 additions and 9 deletions
@@ -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 {