From 92f45c3fa2d609932ed09d988ccd977bdb735641 Mon Sep 17 00:00:00 2001 From: Lucas Lima Date: Mon, 24 Aug 2020 22:23:23 -0300 Subject: [PATCH] Lint --- .../antimine/common/level/view/CommonLevelFragment.kt | 4 ++-- common/src/main/res/values-hi-rIN/strings.xml | 2 +- common/src/main/res/values-ja-rJP/strings.xml | 4 ++-- common/src/main/res/values-pt-rBR/strings.xml | 2 +- .../dev/lucasnlm/antimine/common/level/di/TestLevelModule.kt | 1 - proprietary/build.gradle | 2 +- 6 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 common/src/test/java/dev/lucasnlm/antimine/common/level/di/TestLevelModule.kt diff --git a/common/src/main/java/dev/lucasnlm/antimine/common/level/view/CommonLevelFragment.kt b/common/src/main/java/dev/lucasnlm/antimine/common/level/view/CommonLevelFragment.kt index 144dbb20..2d434d3d 100644 --- a/common/src/main/java/dev/lucasnlm/antimine/common/level/view/CommonLevelFragment.kt +++ b/common/src/main/java/dev/lucasnlm/antimine/common/level/view/CommonLevelFragment.kt @@ -43,14 +43,14 @@ abstract class CommonLevelFragment(@LayoutRes val contentLayoutId: Int) : Fragme } } - protected fun calcHorizontalPadding(view: View, boardWidth: Int): Int { + private fun calcHorizontalPadding(view: View, boardWidth: Int): Int { val width = view.measuredWidth val recyclerViewWidth = (dimensionRepository.areaSize() * boardWidth) val separatorsWidth = (dimensionRepository.areaSeparator() * (boardWidth - 1)) return ((width - recyclerViewWidth - separatorsWidth) / 2).coerceAtLeast(0.0f).toInt() } - protected fun calcVerticalPadding(view: View, boardHeight: Int): Int { + private fun calcVerticalPadding(view: View, boardHeight: Int): Int { val height = view.measuredHeight val recyclerViewHeight = (dimensionRepository.areaSize() * boardHeight) val separatorsHeight = (2 * dimensionRepository.areaSeparator() * (boardHeight - 1)) diff --git a/common/src/main/res/values-hi-rIN/strings.xml b/common/src/main/res/values-hi-rIN/strings.xml index c3c0b25f..5088aece 100644 --- a/common/src/main/res/values-hi-rIN/strings.xml +++ b/common/src/main/res/values-hi-rIN/strings.xml @@ -82,7 +82,7 @@ Google Play Games इंस्टॉल करें कनेक्ट करें - संपर्क बना रहा है... + संपर्क बना रहा है… संपर्क तोड़ें डिस्कनेक्टेड नई गेम diff --git a/common/src/main/res/values-ja-rJP/strings.xml b/common/src/main/res/values-ja-rJP/strings.xml index fc9f58e7..95777cdf 100644 --- a/common/src/main/res/values-ja-rJP/strings.xml +++ b/common/src/main/res/values-ja-rJP/strings.xml @@ -82,12 +82,12 @@ Google Play ゲーム インストール 接続 - 接続しています... + 接続しています… 切断 切断済み 新しいゲーム 共有 - 共有... + 共有… インターネット接続がありません。 メニューを開く メニューを閉じる diff --git a/common/src/main/res/values-pt-rBR/strings.xml b/common/src/main/res/values-pt-rBR/strings.xml index 7975ec70..92e581a2 100644 --- a/common/src/main/res/values-pt-rBR/strings.xml +++ b/common/src/main/res/values-pt-rBR/strings.xml @@ -60,7 +60,7 @@ Usar Ponto de Interrogação Controles - Unico Clique + Único Clique Duplo clique Toque longo Abrir bloco diff --git a/common/src/test/java/dev/lucasnlm/antimine/common/level/di/TestLevelModule.kt b/common/src/test/java/dev/lucasnlm/antimine/common/level/di/TestLevelModule.kt deleted file mode 100644 index 8b137891..00000000 --- a/common/src/test/java/dev/lucasnlm/antimine/common/level/di/TestLevelModule.kt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/proprietary/build.gradle b/proprietary/build.gradle index bd221dc9..d4f8ad42 100644 --- a/proprietary/build.gradle +++ b/proprietary/build.gradle @@ -33,7 +33,7 @@ dependencies { // Google implementation 'com.android.billingclient:billing-ktx:3.0.0' implementation 'com.google.android.gms:play-services-instantapps:17.0.0' - implementation 'com.google.android.gms:play-services-games:19.0.0' + implementation 'com.google.android.gms:play-services-games:20.0.0' implementation 'com.google.android.gms:play-services-auth:18.1.0' // Firebase