ui: opt-in alert for link previews (#6799)

* ios: opt-in alert for link previews

* rename back

* kotlin: opt-in alert for link previews

* reset hints, refactor

* refactor hints

* move functions

* better UX

* ios buttons

* ios: two buttons

* kotlin refactor

* kotlin: two buttons

* show spinner only after preview decision

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
Evgeny
2026-04-20 12:10:02 +01:00
committed by GitHub
co-authored by Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
parent 260bd676cc
commit d3a2c9d08d
10 changed files with 180 additions and 65 deletions
@@ -2970,4 +2970,11 @@
<!-- ChatListNavLinkView.kt channel-related -->
<string name="unblock_subscriber_for_all_question">Unblock subscriber for all?</string>
<!-- ComposeView.kt link previews opt-in alert -->
<string name="link_previews_alert_title">Enable link previews?</string>
<string name="link_previews_alert_desc">Sending a link preview may reveal your IP address to the website. You can change this in Privacy settings later.</string>
<string name="link_previews_alert_enable">Enable</string>
<string name="link_previews_alert_disable">Disable</string>
<!-- <string name="link_previews_alert_dont_ask_again">Don't ask again</string> -->
</resources>