mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-01-19 04:01:42 +01:00
update commons to 4.0.22
This commit is contained in:
parent
8aebfe24f1
commit
f5a433f58a
@ -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'
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user