Skip to content

Commit fd05515

Browse files
committed
updating commons and kotlin
1 parent f37d7a0 commit fd05515

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ext {
4545
}
4646

4747
dependencies {
48-
implementation 'com.simplemobiletools:commons:3.14.1'
48+
implementation 'com.simplemobiletools:commons:3.14.4'
4949
implementation 'joda-time:joda-time:2.9.9'
5050
implementation 'com.facebook.stetho:stetho:1.5.0'
5151
implementation 'com.google.code.gson:gson:2.8.2'

app/src/main/kotlin/com/simplemobiletools/contacts/dialogs/AddFavoritesDialog.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import com.simplemobiletools.contacts.models.Contact
1212
import kotlinx.android.synthetic.main.layout_select_contact.view.*
1313

1414
class AddFavoritesDialog(val activity: SimpleActivity, private val callback: () -> Unit) {
15-
private var dialog: AlertDialog? = null
1615
private var view = activity.layoutInflater.inflate(R.layout.layout_select_contact, null)
1716
private val config = activity.config
1817
private var allContacts = ArrayList<Contact>()
@@ -42,7 +41,7 @@ class AddFavoritesDialog(val activity: SimpleActivity, private val callback: ()
4241
}
4342
}
4443

45-
dialog = AlertDialog.Builder(activity)
44+
AlertDialog.Builder(activity)
4645
.setPositiveButton(R.string.ok, { dialog, which -> dialogConfirmed() })
4746
.setNegativeButton(R.string.cancel, null)
4847
.create().apply {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.2.21'
4+
ext.kotlin_version = '1.2.30'
55

66
repositories {
77
google()

0 commit comments

Comments
 (0)