diff --git a/PRIVACY.MD b/PRIVACY.MD index 93fa1da80..e40dae2b9 100644 --- a/PRIVACY.MD +++ b/PRIVACY.MD @@ -1,5 +1,5 @@ IceCubesApp does not collect or process any personal information from its users. The app is used to connect to third-party Mastodon servers that may or may not collect personal information and are not covered by this privacy policy. Each third-party Mastodon server comes equipped with its own privacy policy that can be viewed through the app or through that server's website. -When you use the OpenAI feature in the composer, please be aware that your input will be sent to the OpenAI server in order to generate a response. Please refer to the [OpenAI Privacy Policy](https://openai.com/policies/privacy-policy) if you want to know more. Nothing is sent to OpenAI if you don't use this feature. You can also completely disable this button in the app settings. +IceCubesApp can optionally use the OpenAI API to generate descriptions for uploaded media. When you use this feature, your uploaded media is sent to the OpenAI server in order to generate a description. Please refer to the [OpenAI Privacy Policy](https://openai.com/policies/privacy-policy) if you want to know more. Nothing is sent to OpenAI if you don't use this feature. Ice Cubes use TelemetryDeck to collect anonymized usage data. This helps us understand how our users are using our app and how we can improve it. TelemetryDeck does not collect any personally identifiable information. You can read more about TelemetryDeck’s [privacy policy](https://telemetrydeck.com/privacy) diff --git a/Packages/StatusKit/Sources/StatusKit/Editor/Components/MediaEditView.swift b/Packages/StatusKit/Sources/StatusKit/Editor/Components/MediaEditView.swift index 2c3ea924c..8f660c3d6 100644 --- a/Packages/StatusKit/Sources/StatusKit/Editor/Components/MediaEditView.swift +++ b/Packages/StatusKit/Sources/StatusKit/Editor/Components/MediaEditView.swift @@ -44,6 +44,18 @@ extension StatusEditor { translateButton } #endif + } footer: { + HStack(spacing: 4) { + Text("Use OpenAI API -") + Link( + "Review Privacy Policy", + destination: URL( + string: "https://github.com/Dimillian/IceCubesApp/blob/main/PRIVACY.MD" + )! + ) + } + .font(.footnote) + .foregroundStyle(.secondary) } .listRowBackground(theme.primaryBackgroundColor) Section { @@ -117,17 +129,19 @@ extension StatusEditor { @ViewBuilder private var generateButton: some View { if let url = container.mediaAttachment?.url { - Button { - Task { - if let description = await generateDescription(url: url) { - imageDescription = description + VStack(alignment: .leading, spacing: 4) { + Button { + Task { + if let description = await generateDescription(url: url) { + imageDescription = description + } + } + } label: { + if isGeneratingDescription { + ProgressView() + } else { + Text("status.editor.media.generate-description") } - } - } label: { - if isGeneratingDescription { - ProgressView() - } else { - Text("status.editor.media.generate-description") } } }