Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-20 18:28:46 +08:00
parent a2ef4e6f84
commit f9e28d1de9
5 changed files with 57 additions and 47 deletions

View File

@@ -335,7 +335,7 @@ class _VideoInfoState extends State<VideoInfo> {
'official_verify']
?['type'] ==
0
? Colors.yellow
? const Color(0xFFFFCC00)
: Colors.lightBlueAccent,
size: 14,
),
@@ -450,7 +450,7 @@ class _VideoInfoState extends State<VideoInfo> {
.official?[
'type'] ==
0
? Colors.yellow
? const Color(0xFFFFCC00)
: Colors.lightBlueAccent,
size: 14,
),

View File

@@ -216,7 +216,7 @@ class ReplyItemGrpc extends StatelessWidget {
),
child: const Icon(
Icons.offline_bolt,
color: Colors.yellow,
color: Color(0xFFFFCC00),
size: 14,
semanticLabel: "认证个人",
),
@@ -838,10 +838,14 @@ class ReplyItemGrpc extends StatelessWidget {
[
if (content.url[matchStr]?.hasPrefixIcon() == true) ...[
WidgetSpan(
child: Image.network(
Utils.thumbnailImgUrl(content.url[matchStr]!.prefixIcon),
child: CachedNetworkImage(
imageUrl: Utils.thumbnailImgUrl(
content.url[matchStr]!.prefixIcon),
height: 19,
color: Theme.of(context).colorScheme.primary,
placeholder: (context, url) {
return const SizedBox.shrink();
},
),
)
],
@@ -953,10 +957,14 @@ class ReplyItemGrpc extends StatelessWidget {
[
if (content.url[patternStr]?.hasPrefixIcon() == true) ...[
WidgetSpan(
child: Image.network(
Utils.thumbnailImgUrl(content.url[patternStr]!.prefixIcon),
child: CachedNetworkImage(
imageUrl: Utils.thumbnailImgUrl(
content.url[patternStr]!.prefixIcon),
height: 19,
color: Theme.of(context).colorScheme.primary,
placeholder: (context, url) {
return const SizedBox.shrink();
},
),
)
],