File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
src/main/kotlin/com/simplemobiletools/flashlight/activities Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ android {
4141}
4242
4343dependencies {
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}
Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change 11package com.simplemobiletools.flashlight.activities
22
33import 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+ }
You can’t perform that action at this time.
0 commit comments