mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-26 12:07:11 +08:00
show msg user live status
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -110,6 +110,7 @@ class WhisperSessionItem extends StatelessWidget {
|
||||
'face': avatar,
|
||||
if (item.sessionInfo.avatar.hasMid())
|
||||
'mid': item.sessionInfo.avatar.mid.toInt(),
|
||||
'isLive': item.sessionInfo.isLive,
|
||||
},
|
||||
);
|
||||
return;
|
||||
@@ -214,7 +215,11 @@ class WhisperSessionItem extends StatelessWidget {
|
||||
text: item.sessionInfo.userLabel.style.borderedLabel.text,
|
||||
),
|
||||
if (item.sessionInfo.isLive)
|
||||
Image.asset('assets/images/live/live.gif', height: 15),
|
||||
Image.asset(
|
||||
'assets/images/live/live.gif',
|
||||
height: 15,
|
||||
filterQuality: FilterQuality.low,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user