08.1376 Migration: Fixing profile previews problems caused by BlLazyElement deprecation.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-04-10 11:22:59 -05:00
parent 01a62b2b2a
commit 94ce588376

View File

@ -12,14 +12,5 @@ gtTweetsFor: aView
c horizontal matchParent ];
padding: (BlInsets all: 10).
self tweets do: [ :each |
imageContainer := BlLazyElement new
withGlamorousPreview;
aptitude: BrShadowAptitude new;
background: Color white;
margin: (BlInsets all: 10);
constraintsDo: [ :c |
c vertical exact: 145.
c horizontal matchParent ];
elementBuilder: [ each asCardElement margin: (BlInsets all: 20) ].
container addChild: imageContainer].
container addChild: each asCardElement ].
container asScrollableElement ]