Size URL image previews to the image's aspect ratio

The preview now fills the bubble's available width and takes its height from
the loaded image, capped at 400dp for tall images. Loading and error states
are a compact full-width strip, and the error text is localized.
This commit is contained in:
zjs81 committed 2026-11-23 22:24:01 -07:00
1 parent 6748d5f0f2
commit 40fb80cf5c
23 files changed
+401 -25

No files matched your search

+6
View File
@@ -13797,6 +13797,12 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'{name} claimed a win on time'**
String chess_notifyTimeout(String name);
/// Shown in a message bubble when a linked image fails to load
///
/// In en, this message translates to:
/// **'Unable to load image'**
String get messageUrlImageLoadFailed;
}
class _AppLocalizationsDelegate