fixed yellow lines at profile image grade streak indicator

This commit is contained in:
Kima 2024-09-27 22:02:31 +02:00
parent 63fd37c31f
commit 92fe3b7dcd
3 changed files with 17 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -266,12 +266,16 @@ class _ProfileImageState extends State<ProfileImage> {
child: Transform.translate(
offset: Offset(-widget.radius / 4, -widget.radius / 4),
child: Container(
alignment: Alignment.topLeft,
child: Text(
'🔥',
style: TextStyle(fontSize: widget.radius * 0.8),
),
),
alignment: Alignment.topLeft,
child: Image.asset(
'assets/images/apple_fire_emoji.png',
width: widget.radius,
)
// Text(
// '🔥',
// style: TextStyle(fontSize: widget.radius * 0.8),
// ),
),
),
),
),

View File

@ -782,10 +782,14 @@ class SettingsScreenState extends State<SettingsScreen>
color: AppColors.of(context).text.withOpacity(0.75),
),
),
leading: const Text(
"🔥",
style: TextStyle(fontSize: 22.0),
leading: Image.asset(
'assets/images/apple_fire_emoji.png',
width: 24.0,
),
// leading: const Text(
// "🔥",
// style: TextStyle(fontSize: 22.0),
// ),
trailing: Text(
"${user.gradeStreak}",
style: TextStyle(