|
|
@@ -583,8 +583,14 @@ class PlayGameActivity : BaseMVVMActivity<ActivityPlayGameBinding, PlayGameViewM
|
|
|
*/
|
|
|
private fun setReduce(isReduce: Boolean) {
|
|
|
binding.webView.post {
|
|
|
- binding.tvFullScreen.show(isReduce)
|
|
|
- binding.tvReduce.show(isReduce.not())
|
|
|
+ binding {
|
|
|
+ tvFullScreen.show(isReduce)
|
|
|
+ tvReduce.show(isReduce.not())
|
|
|
+ tvScores.show(isReduce.not())
|
|
|
+ tvTimes.show(isReduce.not())
|
|
|
+ tvPauses.show(isReduce.not())
|
|
|
+ tvGameLevels.show(isReduce.not())
|
|
|
+ }
|
|
|
if (isReduce) {
|
|
|
val params = ConstraintLayout.LayoutParams(
|
|
|
mWebViewWidth,
|