From a07200efd7fe418cce44d577c03e814179ab6394 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 14 Aug 2022 11:21:35 +0200 Subject: [PATCH] updating kotlin, commons, gradle --- app/build.gradle | 8 ++++---- .../contacts/pro/activities/EditContactActivity.kt | 3 --- build.gradle | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index fa76fba6..ed4874aa 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -63,13 +63,13 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:4ac3979fa8' + implementation 'com.github.SimpleMobileTools:Simple-Commons:84c7bdf0f5' implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'me.grantland:autofittextview:0.2.1' - kapt "androidx.room:room-compiler:2.4.2" - implementation "androidx.room:room-runtime:2.4.2" - annotationProcessor "androidx.room:room-compiler:2.4.2" + kapt "androidx.room:room-compiler:2.4.3" + implementation "androidx.room:room-runtime:2.4.3" + annotationProcessor "androidx.room:room-compiler:2.4.3" } diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt index 4b7cf8ca..e65c1c2a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt @@ -444,8 +444,6 @@ class EditContactActivity : ContactActivity() { private fun setupEditContact() { window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN) - updateActionBarTitle(resources.getString(R.string.edit_contact)) - setupNames() setupPhoneNumbers() setupEmails() @@ -729,7 +727,6 @@ class EditContactActivity : ContactActivity() { } private fun setupNewContact() { - updateActionBarTitle(resources.getString(R.string.new_contact)) originalContactSource = if (hasContactPermissions()) config.lastUsedContactSource else SMT_PRIVATE contact = getEmptyContact() getPublicContactSource(contact!!.source) { diff --git a/build.gradle b/build.gradle index ecd2be0b..7f3aa0e9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.6.21' + ext.kotlin_version = '1.7.10' repositories { google() @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.2.1' + classpath 'com.android.tools.build:gradle:7.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong