mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-23 11:45:11 +00:00
final steps for installation
This commit is contained in:
parent
7384427ea3
commit
0140db943c
2 changed files with 2 additions and 1 deletions
|
@ -192,6 +192,8 @@ open class BaseFragment : Fragment() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun launchInstaller() {
|
private fun launchInstaller() {
|
||||||
|
val prefs = activity?.getSharedPreferences("installPrefs", Context.MODE_PRIVATE)
|
||||||
|
prefs?.edit()?.putBoolean("isInstalling", false)?.apply()
|
||||||
val activity = (activity as MainActivity?)!!
|
val activity = (activity as MainActivity?)!!
|
||||||
activity.installSplitApk()
|
activity.installSplitApk()
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,6 @@ import android.widget.*
|
||||||
import androidx.navigation.findNavController
|
import androidx.navigation.findNavController
|
||||||
import com.vanced.manager.R
|
import com.vanced.manager.R
|
||||||
import com.vanced.manager.core.base.BaseFragment
|
import com.vanced.manager.core.base.BaseFragment
|
||||||
import io.reactivex.disposables.Disposable
|
|
||||||
|
|
||||||
open class Home : BaseFragment() {
|
open class Home : BaseFragment() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue