Procházet zdrojové kódy

feat: remove traffic

tongmengxiao před 3 měsíci
rodič
revize
f446da82b1

+ 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)
                 }
             }