Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 089e3523 authored by tibbi's avatar tibbi
Browse files

rename storeStoragePaths to appLaunched

parent c59ea73c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 −2
Original line number Diff line number Diff line
@@ -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()
    }
}