0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-30 15:03:02 +00:00

fixed code

This commit is contained in:
X1nto 2020-06-09 17:32:00 +04:00
parent 9880ad065f
commit 80f0ad1e6e

View file

@ -225,7 +225,7 @@ class HomeFragment : Home() {
SIGNATURE_DISABLED -> {
loadCircle?.visibility = View.GONE
statusTxt?.text = "Disabled"
statusTxt?.setTextColor(R.color.Green)
statusTxt?.setTextColor(resources.getColor(R.color.Green))
vancedinstallbtn?.visibility = View.VISIBLE
val mIntent = Intent(activity, RootAppUninstaller::class.java)
mIntent.putExtra("Data", "com.vanced.stub")
@ -233,7 +233,7 @@ class HomeFragment : Home() {
}
SIGNATURE_ENABLED -> {
statusTxt?.text = "Enabled"
statusTxt?.setTextColor(R.color.Red)
statusTxt?.setTextColor(resources.getColor(R.color.Red))
loadCircle?.visibility = View.GONE
}
}