Skip to content

Commit

Permalink
3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
anggrayudi committed Apr 10, 2020
1 parent 48efd8d commit 752c2df
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,4 +1,9 @@

## 3.6.1 (2020-10-04)

### Fixed
* `<intent/>` tag crash if no activity handler exists

## 3.6.0 (2020-08-03)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -29,7 +29,7 @@ android {
}
}
dependencies {
implementation 'com.anggrayudi:materialpreference:3.6.0'
implementation 'com.anggrayudi:materialpreference:3.6.1'
}
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -2,7 +2,7 @@
apply from: 'extensions.gradle'

buildscript {
ext.kotlinVersion = '1.3.70'
ext.kotlinVersion = '1.3.71'

repositories {
google()
Expand All @@ -11,7 +11,7 @@ buildscript {
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
classpath('com.android.tools.build:gradle:3.6.1')
classpath('com.android.tools.build:gradle:3.6.2')
classpath("com.google.gms:google-services:4.3.3")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4")
Expand Down
Expand Up @@ -903,7 +903,7 @@ open class Preference @JvmOverloads constructor(
return
}

if (intent != null) {
if (intent?.resolveActivity(context.packageManager) != null) {
context.startActivity(intent)
}
}
Expand Down
Expand Up @@ -88,6 +88,7 @@ class App : Application() {
}

override fun onMigrationCompleted(preferences: SharedPreferences) {
//no-op
}
}

Expand Down

0 comments on commit 752c2df

Please sign in to comment.