forked from firka/student-legacy
fixed yellow lines at profile image grade streak indicator
This commit is contained in:
parent
63fd37c31f
commit
92fe3b7dcd
BIN
refilc/assets/images/apple_fire_emoji.png
Normal file
BIN
refilc/assets/images/apple_fire_emoji.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
@ -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),
|
||||
// ),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user