mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 03:09:56 +00:00
- Avoid returning a NaN flexShrinkAdjustment. - Bail early (instead of assert) if a line has a positive `flexFactorSum` but then no flexible item can be found via flex adjustments, for example because the flexible items have zero size. - Continue flexing other lines when one line is inflexible. - Add unit test for the first 2 fixes.