0
0
Fork 0
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:
X1nto 2020-06-04 14:46:03 +04:00
parent 2441a2c8d3
commit e2583676eb

View file

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