fix detach

This commit is contained in:
Raffaele Mignone 2019-01-16 22:02:43 +01:00
parent 69c6bfdd6e
commit 1433334f15
Signed by: norangebit
GPG Key ID: 4B9DF72AB9508845
3 changed files with 4 additions and 2 deletions

View File

@ -144,6 +144,7 @@ class MainActivity : AppCompatActivity() {
}
fun onClearClick(view: View) {
cloudAnchor?.detach()
cloudAnchor = null
cloudAnchorState = CloudAnchorState.LOCAL
}

View File

@ -7,7 +7,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:3.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.ar.sceneform:plugin:1.6.0'
classpath 'com.google.gms:google-services:4.2.0' // google-services plugin

View File

@ -1,5 +1,6 @@
#Wed Jan 16 21:40:50 CET 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip