[fix-it] update twitter -> X in sticker creator share sheet

Co-authored-by: jimio <jimio@signal.org>
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-01-06 16:04:28 -06:00
committed by GitHub
parent 34738257bc
commit 7bc6533ddd

View File

@@ -31,12 +31,12 @@ export const ShareButtons: React.ComponentType<Props> = React.memo(
'M20.155 10.656l-1.506.001c-1.181 0-1.41.561-1.41 1.384v1.816h2.817l-.367 2.845h-2.45V24h-2.937v-7.298h-2.456v-2.845h2.456V11.76c0-2.435 1.487-3.76 3.658-3.76 1.04 0 1.934.077 2.195.112v2.544z',
`https://www.facebook.com/sharer/sharer.php?u=${packUrl}`,
],
// Twitter
// X
[
i18n('StickerCreator--ShareButtons--twitter'),
'#1CA1F2',
'M22.362 12.737c.006.141.01.282.01.425 0 4.337-3.302 9.339-9.34 9.339A9.294 9.294 0 018 21.027c.257.03.518.045.783.045a6.584 6.584 0 004.077-1.405 3.285 3.285 0 01-3.067-2.279 3.312 3.312 0 001.483-.057 3.283 3.283 0 01-2.633-3.218v-.042c.442.246.949.394 1.487.411a3.282 3.282 0 01-1.016-4.383 9.32 9.32 0 006.766 3.43 3.283 3.283 0 015.593-2.994 6.568 6.568 0 002.085-.796 3.299 3.299 0 01-1.443 1.816A6.587 6.587 0 0024 11.038a6.682 6.682 0 01-1.638 1.699',
`https://twitter.com/intent/tweet?text=${text}`,
'#000000',
'M17.49 14.775 23.313 8h-1.38l-5.058 5.883L12.836 8h-4.66l6.109 8.895L8.176 24h1.38l5.342-6.212L19.165 24h4.659zm-1.892 2.2-.62-.887-4.923-7.048h2.12l3.975 5.688.618.887 5.166 7.393h-2.12z',
`https://x.com/intent/post?text=${text}`,
],
// Pinterest
// [