mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Design and plan, then the implementation: extract a shared openInstantPageMedia helper for V1+V2 reuse, add typed media item cases + allMedias() helper, introduce InstantPageV2RenderContext and thread it through the view tree, add four media wrapper views, route layout dispatch through typed media items, let the chat bubble build the render context so real media renders, wire gallery tap routing, cache V2View by message id + stableVersion, add stable-id identity + per-class update(item:theme:), reuse item views on re-layouts via stable-id harvest, preserve TextView clipping inset on reuse, and let the use site control media-reference construction. |
||
|---|---|---|
| .. | ||
| Components | ||
| Images.xcassets | ||
| Resources | ||
| Sounds | ||
| Sources | ||
| .gitignore | ||
| BUILD | ||