use render cache for animated icons
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled

This commit is contained in:
otsmr 2026-06-16 22:44:21 +02:00
parent 98fa90a46b
commit c28808537b
2 changed files with 2 additions and 1 deletions

View file

@ -244,6 +244,7 @@ class EmojiAnimationComp extends StatelessWidget {
return Lottie.asset( return Lottie.asset(
'assets/animated_icons/${animatedIcons[emoji]}', 'assets/animated_icons/${animatedIcons[emoji]}',
repeat: repeat, repeat: repeat,
renderCache: RenderCache.raster,
); );
} else if (isOneEmoji(emoji)) { } else if (isOneEmoji(emoji)) {
return Text( return Text(

View file

@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec
publish_to: 'none' publish_to: 'none'
version: 0.3.1+142 version: 0.3.1+143
environment: environment:
sdk: ^3.11.0 sdk: ^3.11.0