mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-26 13:12:59 +00:00
crash fix attempt 3
This commit is contained in:
parent
2441a2c8d3
commit
e2583676eb
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ open class HomeViewModel(application: Application): AndroidViewModel(application
|
|||
}
|
||||
}
|
||||
|
||||
val isMicrogInstalled: Boolean = isPackageInstalled("com.mgoogle.android.gms", Activity().packageManager)
|
||||
val isVancedInstalled: Boolean = isPackageInstalled("com.vanced.android.youtube", Activity().packageManager)
|
||||
val isMicrogInstalled: Boolean = isPackageInstalled("com.mgoogle.android.gms", application.packageManager)
|
||||
val isVancedInstalled: Boolean = isPackageInstalled("com.vanced.android.youtube", application.packageManager)
|
||||
|
||||
val isConnected = GetJson().isConnected(application)
|
||||
|
||||
|
|
Loading…
Reference in a new issue