From 808662d7d6719eb6b7f8e7f32dc274dad5fe9d2f Mon Sep 17 00:00:00 2001 From: Lucas Lima Date: Thu, 9 Apr 2020 08:43:52 -0300 Subject: [PATCH] Fix wear build --- .gitignore | 1 + config.gradle | 4 ++-- wear/build.gradle | 2 +- .../java/dev/lucasnlm/antimine/wear/WatchLevelFragment.kt | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 25e345c4..f6f137af 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ app/local.properties *.apk app/release/ app/standalone/ +app/google/ \ No newline at end of file diff --git a/config.gradle b/config.gradle index 4512a2a8..b6cc087e 100644 --- a/config.gradle +++ b/config.gradle @@ -1,10 +1,10 @@ ext.buildVersion = [ - versionCode : 62, + versionCode : 603001, // MMmmPPv versionName : '6.3.0', targetSdk : 29, minAppSdk : 16, wearMinAppSdk: 23, - applicationId: 'dev.lucasnlm.antimine' + applicationId: 'com.logical.minato' ] ext.versions = [ diff --git a/wear/build.gradle b/wear/build.gradle index f0f9bb36..1163c75d 100644 --- a/wear/build.gradle +++ b/wear/build.gradle @@ -8,7 +8,7 @@ android { compileSdkVersion buildVersion.targetSdk defaultConfig { - applicationId 'dev.lucasnlm.antimine.wear' + applicationId buildVersion.applicationId minSdkVersion buildVersion.wearMinAppSdk targetSdkVersion buildVersion.targetSdk versionCode buildVersion.versionCode diff --git a/wear/src/main/java/dev/lucasnlm/antimine/wear/WatchLevelFragment.kt b/wear/src/main/java/dev/lucasnlm/antimine/wear/WatchLevelFragment.kt index 88fb1168..b0304ed7 100644 --- a/wear/src/main/java/dev/lucasnlm/antimine/wear/WatchLevelFragment.kt +++ b/wear/src/main/java/dev/lucasnlm/antimine/wear/WatchLevelFragment.kt @@ -13,6 +13,7 @@ import dagger.android.support.DaggerFragment import dev.lucasnlm.antimine.common.level.models.AmbientSettings import dev.lucasnlm.antimine.common.level.models.Event import dev.lucasnlm.antimine.common.level.view.AreaAdapter +import dev.lucasnlm.antimine.common.level.view.SpaceItemDecoration import dev.lucasnlm.antimine.common.level.view.UnlockedHorizontalScrollView import dev.lucasnlm.antimine.common.level.viewmodel.GameViewModel import dev.lucasnlm.antimine.common.level.viewmodel.GameViewModelFactory @@ -56,6 +57,7 @@ class WatchLevelFragment : DaggerFragment() { recyclerGrid = view.findViewById(R.id.recyclerGrid) recyclerGrid.apply { setHasFixedSize(true) + addItemDecoration(SpaceItemDecoration(R.dimen.field_padding)) isNestedScrollingEnabled = false adapter = areaAdapter alpha = 0.0f