Commit ec5145b
fix(chat): render instant-page preview icons in the edit accessory panel
Render instant-page preview icons in the message-edit accessory panel text (renderInstantPagePreviewIcons), with text render insets so the glyphs aren't clipped and a matching frame offset. Nudge the self-destruct timer icon's vertical inset.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d6a001c commit ec5145b
2 files changed
Lines changed: 7 additions & 3 deletions
File tree
- submodules/TelegramUI/Components/Chat
- ChatInputMessageAccessoryPanel/Sources
- ChatTextInputPanelNode/Sources
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| 591 | + | |
591 | 592 | | |
592 | 593 | | |
593 | 594 | | |
| |||
923 | 924 | | |
924 | 925 | | |
925 | 926 | | |
| 927 | + | |
926 | 928 | | |
927 | 929 | | |
928 | 930 | | |
929 | 931 | | |
| 932 | + | |
930 | 933 | | |
931 | 934 | | |
932 | 935 | | |
| |||
945 | 948 | | |
946 | 949 | | |
947 | 950 | | |
948 | | - | |
| 951 | + | |
949 | 952 | | |
950 | 953 | | |
951 | 954 | | |
| |||
submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode/Sources/AccessoryItemIconButton.swift
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
0 commit comments