update commons to 4.0.22

This commit is contained in:
tibbi 2018-05-21 23:46:56 +02:00
parent 8aebfe24f1
commit f5a433f58a
3 changed files with 10 additions and 3 deletions

View File

@ -41,7 +41,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:3.19.0'
implementation 'com.simplemobiletools:commons:4.0.22'
implementation 'com.squareup:otto:1.3.8'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
}

View File

@ -36,7 +36,7 @@ class MainActivity : SimpleActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
appLaunched()
appLaunched(BuildConfig.APPLICATION_ID)
mBus = BusProvider.instance
changeIconColor(config.backgroundColor.getContrastColor(), stroboscope_btn)

View File

@ -1,5 +1,12 @@
package com.simplemobiletools.flashlight.activities
import com.simplemobiletools.commons.activities.BaseSimpleActivity
import com.simplemobiletools.flashlight.R
open class SimpleActivity : BaseSimpleActivity()
open class SimpleActivity : BaseSimpleActivity() {
override fun getAppIconIDs() = arrayListOf(
R.mipmap.ic_launcher
)
override fun getAppLauncherName() = getString(R.string.app_launcher_name)
}