0
0
Fork 0
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:
X1nto 2020-05-26 23:26:08 +04:00
parent 7384427ea3
commit 0140db943c
2 changed files with 2 additions and 1 deletions

View file

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

View file

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