mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-06-25 04:44:07 +00:00
use render cache for animated icons
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled
This commit is contained in:
parent
98fa90a46b
commit
c28808537b
2 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue