Browse Source

优化好友页面

master
王子贤 2 months ago
parent
commit
ae8e2ef6c7
1 changed files with 2 additions and 2 deletions
  1. 4
      lib/pages/mine/my_friend_page.dart

4
lib/pages/mine/my_friend_page.dart

@ -254,7 +254,7 @@ class _UserItemState extends State<UserItem> {
], ],
), ),
Text( Text(
"${widget.item.age}岁·${widget.item.cityName}",
"${widget.item.age ?? ""}岁·${widget.item.cityName ?? ""}",
style: TextStyle( style: TextStyle(
fontSize: 11.w, fontSize: 11.w,
color: const Color.fromRGBO(144, 144, 144, 1), color: const Color.fromRGBO(144, 144, 144, 1),
@ -352,7 +352,7 @@ class _AddUserItemState extends State<AddUserItem> {
], ],
), ),
Text( Text(
"${widget.item.age}岁·${widget.item.cityName}",
"${widget.item.age ?? ""}岁·${widget.item.cityName ?? ""}",
style: TextStyle( style: TextStyle(
fontSize: 11.w, fontSize: 11.w,
color: const Color.fromRGBO(144, 144, 144, 1), color: const Color.fromRGBO(144, 144, 144, 1),

Loading…
Cancel
Save