rename storeStoragePaths to appLaunched
This commit is contained in:
parent
c59ea73c54
commit
089e3523f8
2 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ fun Activity.showErrorToast(exception: Exception, length: Int = Toast.LENGTH_LON
|
|||
}
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
fun Activity.storeStoragePaths() {
|
||||
fun Activity.appLaunched() {
|
||||
baseConfig.internalStoragePath = getInternalStoragePath()
|
||||
|
||||
Thread({
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.simplemobiletools.commons.samples.activities
|
|||
|
||||
import android.os.Bundle
|
||||
import com.simplemobiletools.commons.activities.BaseSimpleActivity
|
||||
import com.simplemobiletools.commons.extensions.storeStoragePaths
|
||||
import com.simplemobiletools.commons.extensions.appLaunched
|
||||
import com.simplemobiletools.commons.samples.R
|
||||
|
||||
class MainActivity : BaseSimpleActivity() {
|
||||
|
@ -10,6 +10,6 @@ class MainActivity : BaseSimpleActivity() {
|
|||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_main)
|
||||
storeStoragePaths()
|
||||
appLaunched()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue