mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: avatar model (#814)
This commit is contained in:
committed by
GitHub
parent
07d2b3b464
commit
cdeb843a84
@@ -1,4 +1,4 @@
|
||||
import 'package:PiliPlus/common/widgets/avatar.dart';
|
||||
import 'package:PiliPlus/common/widgets/pendant_avatar.dart';
|
||||
import 'package:PiliPlus/models/search/result.dart';
|
||||
import 'package:PiliPlus/utils/utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -28,8 +28,8 @@ class SearchUserItem extends StatelessWidget {
|
||||
child: Row(
|
||||
children: [
|
||||
const SizedBox(width: 15),
|
||||
Avatar(
|
||||
avatar: item.upic ?? '',
|
||||
PendantAvatar(
|
||||
avatar: item.upic,
|
||||
size: 42,
|
||||
isVip: false,
|
||||
officialType: item.officialVerify?['type'],
|
||||
|
||||
Reference in New Issue
Block a user