Kaynağa Gözat

1.优化游戏结算页面UI

王鹏鹏 2 yıl önce
ebeveyn
işleme
d808e00f4a

+ 3 - 3
game/src/main/java/com/yingyangfly/game/play/PlayGameActivity.kt

@@ -161,9 +161,9 @@ class PlayGameActivity : BaseMVVMActivity<ActivityPlayGameBinding, PlayGameViewM
     private fun setScreenData() {
         binding.tvFullScreen.show(TextUtils.equals("0", fullFlag))
         if (TextUtils.equals("0", fullFlag)) {
-            binding.tvFullScreen.text = "全屏"
-        } else {
             binding.tvFullScreen.text = "缩放"
+        } else {
+            binding.tvFullScreen.text = "全屏"
         }
         setReduce()
     }
@@ -666,7 +666,7 @@ class PlayGameActivity : BaseMVVMActivity<ActivityPlayGameBinding, PlayGameViewM
         )
         completionTrainingDialog.onDialogClickListener = {
             runOnUiThread {
-               JumpUtil.jumpActivity(RouterUrlCommon.home, mContext)
+                JumpUtil.jumpActivity(RouterUrlCommon.home, mContext)
             }
         }
         completionTrainingDialog.show(