Fix wear build
This commit is contained in:
parent
b802ad84d4
commit
808662d7d6
4 changed files with 6 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -11,3 +11,4 @@ app/local.properties
|
|||
*.apk
|
||||
app/release/
|
||||
app/standalone/
|
||||
app/google/
|
|
@ -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 = [
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue