peter-iakovlev / Telegram

Telegram Messenger for iOS
3.21k stars 854 forks source link

Add support for Smart Invert on legacy image views #298

Open n00neimp0rtant opened 5 years ago

n00neimp0rtant commented 5 years ago

There are a few places throughout the app (TGSharedMediaController, TGStickersMenu, TGModenConcersationReplyAssociatedPanel [sic], TGModernFlatteningView) that still use the legacy TGImageView class, which does not currently support Smart Invert. This patch enables Smart Invert support for everything that uses TGImageView.