Skip to content

Commit f5a433f

Browse files
committed
update commons to 4.0.22
1 parent 8aebfe2 commit f5a433f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ android {
4141
}
4242

4343
dependencies {
44-
implementation 'com.simplemobiletools:commons:3.19.0'
44+
implementation 'com.simplemobiletools:commons:4.0.22'
4545
implementation 'com.squareup:otto:1.3.8'
4646
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
4747
}

app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class MainActivity : SimpleActivity() {
3636
override fun onCreate(savedInstanceState: Bundle?) {
3737
super.onCreate(savedInstanceState)
3838
setContentView(R.layout.activity_main)
39-
appLaunched()
39+
appLaunched(BuildConfig.APPLICATION_ID)
4040

4141
mBus = BusProvider.instance
4242
changeIconColor(config.backgroundColor.getContrastColor(), stroboscope_btn)
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
package com.simplemobiletools.flashlight.activities
22

33
import com.simplemobiletools.commons.activities.BaseSimpleActivity
4+
import com.simplemobiletools.flashlight.R
45

5-
open class SimpleActivity : BaseSimpleActivity()
6+
open class SimpleActivity : BaseSimpleActivity() {
7+
override fun getAppIconIDs() = arrayListOf(
8+
R.mipmap.ic_launcher
9+
)
10+
11+
override fun getAppLauncherName() = getString(R.string.app_launcher_name)
12+
}

0 commit comments

Comments
 (0)