fix(ui): rename Friends "Share via Telegram" to "Share"

The share button uses the OS Web Share sheet outside Telegram (the TG share picker only inside it), so "via Telegram" was misleading. Rename to a neutral "Share"/"Поделиться" and drop the now-unused tgshare class.
This commit is contained in:
Ilia Denisov
2026-06-23 21:51:52 +02:00
parent 10264e10c8
commit f8fab4a4c2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -182,7 +182,7 @@
{t('friends.codeHint')} · {t('friends.codeExpires', { time: codeTime(code.expiresAtUnix) })}
</span>
{#if tg}
<button type="button" class="link tgshare" onclick={() => shareInvite(tg)}>{t('friends.shareTelegram')}</button>
<button type="button" class="link" onclick={() => shareInvite(tg)}>{t('friends.shareTelegram')}</button>
{/if}
</div>
{:else}