rename storeStoragePaths to appLaunched

This commit is contained in:
tibbi 2017-11-30 19:12:00 +01:00
parent c59ea73c54
commit 089e3523f8
2 changed files with 3 additions and 3 deletions

View file

@ -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({

View file

@ -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()
}
}