From cdb1195333b7af83d1db227612c0b77cee77d328 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 11 Feb 2022 22:32:22 +0100 Subject: [PATCH] updating commons and kotlin --- app/build.gradle | 2 +- .../com/simplemobiletools/flashlight/activities/MainActivity.kt | 1 + build.gradle | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 15645f2..0aecb9f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -61,7 +61,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:fe2610738c' + implementation 'com.github.SimpleMobileTools:Simple-Commons:03e4d214b1' implementation 'org.greenrobot:eventbus:3.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.3' } diff --git a/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt index 362e416..4099553 100644 --- a/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt @@ -155,6 +155,7 @@ class MainActivity : SimpleActivity() { } private fun launchSettings() { + hideKeyboard() reTurnFlashlightOn = false startActivity(Intent(applicationContext, SettingsActivity::class.java)) } diff --git a/build.gradle b/build.gradle index e26e771..4105770 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.5.31' + ext.kotlin_version = '1.6.10' repositories { google()