File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/main/kotlin/com/simplemobiletools/flashlight/helpers Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ if (keystorePropertiesFile.exists()) {
99}
1010
1111android {
12- compileSdkVersion 28
13- buildToolsVersion " 28 .0.3 "
12+ compileSdkVersion 29
13+ buildToolsVersion " 29 .0.2 "
1414
1515 defaultConfig {
1616 applicationId " com.simplemobiletools.flashlight"
1717 minSdkVersion 21
18- targetSdkVersion 28
18+ targetSdkVersion 29
1919 versionCode 35
2020 versionName " 5.0.3"
2121 setProperty(" archivesBaseName" , " flashlight" )
@@ -56,7 +56,7 @@ android {
5656}
5757
5858dependencies {
59- implementation ' com.simplemobiletools:commons:5.17.17 '
59+ implementation ' com.simplemobiletools:commons:5.21.13 '
6060 implementation ' com.squareup:otto:1.3.8'
6161 implementation ' androidx.constraintlayout:constraintlayout:2.0.0-beta2'
6262}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class MyWidgetProvider : AppWidgetProvider() {
5353
5454 private fun toggleFlashlight (context : Context , intent : Intent ) {
5555 if (intent.extras?.containsKey(IS_ENABLED ) == true ) {
56- val enable = intent.extras.getBoolean(IS_ENABLED )
56+ val enable = intent.extras!! .getBoolean(IS_ENABLED )
5757 val widgetBgColor = context.config.widgetBgColor
5858 val alpha = Color .alpha(widgetBgColor)
5959 val selectedColor = if (enable) widgetBgColor else Color .WHITE
Original file line number Diff line number Diff line change 11// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
33buildscript {
4- ext. kotlin_version = ' 1.3.50 '
4+ ext. kotlin_version = ' 1.3.61 '
55
66 repositories {
77 google()
88 jcenter()
99 }
1010
1111 dependencies {
12- classpath ' com.android.tools.build:gradle:3.5.1 '
12+ classpath ' com.android.tools.build:gradle:3.5.3 '
1313 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1414
1515 // NOTE: Do not place your application dependencies here; they belong
You can’t perform that action at this time.
0 commit comments