We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ec908d commit aa2dfc6Copy full SHA for aa2dfc6
app/src/main/java/com/nononsenseapps/feeder/ui/compose/text/HtmlToComposable.kt
@@ -864,15 +864,13 @@ private fun ColumnScope.renderImage(
864
modifier =
865
modifier
866
.widthIn(max = maxWidth)
867
- .fillMaxWidth()
868
- .run {
869
- // TODO take the real height into account
870
- // OR aspect ratio is no longer needed now that real size
871
- // is respected?
872
- dimens.imageAspectRatioInReader?.let { ratio ->
873
- aspectRatio(ratio)
874
- } ?: this
875
- },
+ .fillMaxWidth(),
+// .run {
+// // This looks awful for small images
+// dimens.imageAspectRatioInReader?.let { ratio ->
+// aspectRatio(ratio)
+// } ?: this
+// },
876
)
877
}
878
0 commit comments