opt handle res

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-29 17:17:35 +08:00
parent b643cb1bd0
commit 924d51d41b
198 changed files with 3715 additions and 2001 deletions

View File

@@ -54,8 +54,7 @@ class FollowItem extends StatelessWidget {
src: item.face,
),
),
if (item.officialVerify?['type'] == 0 ||
item.officialVerify?['type'] == 1)
if (item.officialVerify?.type == 0 || item.officialVerify?.type == 1)
Positioned(
bottom: 0,
right: 0,
@@ -66,7 +65,7 @@ class FollowItem extends StatelessWidget {
),
child: Icon(
Icons.offline_bolt,
color: item.officialVerify?['type'] == 0
color: item.officialVerify?.type == 0
? const Color(0xFFFFCC00)
: Colors.lightBlueAccent,
size: 14,