فهرست منبع

feat: remove traffic

tongmengxiao 3 ماه پیش
والد
کامیت
f446da82b1
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 0
      home/src/main/res/layout/fragment_mine.xml
  2. 1 1
      room/src/main/java/com/swago/room/reward/RewardView.kt

+ 1 - 0
home/src/main/res/layout/fragment_mine.xml

@@ -498,6 +498,7 @@
         android:src="@mipmap/ic_traffic"
         android:layout_marginEnd="12dp"
         android:layout_marginBottom="12dp"
+        android:visibility="gone"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintBottom_toBottomOf="parent"/>
 

+ 1 - 1
room/src/main/java/com/swago/room/reward/RewardView.kt

@@ -65,7 +65,7 @@ class RewardView : FrameLayout, IRoomActiveListener, RoomTimer.TimeTickListener
                     ).show()
                     return
                 }
-                if (scaleXAnimator?.isRunning == true && countdownOver){
+                if (scaleXAnimator?.isRunning == true){
                     openGetCoins?.invoke(duration, coins, nextCoins, nextTime)
                 }
             }