Browse Source

feat: remove traffic

tongmengxiao 3 months ago
parent
commit
2ecb120ad0

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

@@ -482,6 +482,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)
                 }
             }