Browse Source

补充优化功能

dev-2.0
王子贤 1 month ago
parent
commit
8dfecbfd5d
1 changed files with 2 additions and 3 deletions
  1. 5
      lib/widget/live/live_room_anchor_showcase.dart

5
lib/widget/live/live_room_anchor_showcase.dart

@ -338,13 +338,12 @@ class _LiveRoomAnchorShowcaseState extends State<LiveRoomAnchorShowcase> {
), ),
), ),
), ),
if(userInfo.isFriend != true)
Positioned( Positioned(
bottom: 5.w, bottom: 5.w,
right: 5.w, right: 5.w,
child: Row( child: Row(
children: [ children: [
if(!isCurrentUser) GestureDetector(
if(!isCurrentUser && userInfo.isFriend != true) GestureDetector(
onTap: (){ onTap: (){
if(userInfo.isFriend == true){ if(userInfo.isFriend == true){
return; return;
@ -371,7 +370,7 @@ class _LiveRoomAnchorShowcaseState extends State<LiveRoomAnchorShowcase> {
), ),
), ),
), ),
if(!isCurrentUser) SizedBox(width: 5.w,),
if(!isCurrentUser && userInfo.isFriend != true) SizedBox(width: 5.w,),
Container( Container(
width: 20.w, width: 20.w,
height: 20.w, height: 20.w,

Loading…
Cancel
Save