added indicator
This commit is contained in:
parent
8c33615e11
commit
9880ad065f
|
@ -225,6 +225,7 @@ class HomeFragment : Home() {
|
||||||
SIGNATURE_DISABLED -> {
|
SIGNATURE_DISABLED -> {
|
||||||
loadCircle?.visibility = View.GONE
|
loadCircle?.visibility = View.GONE
|
||||||
statusTxt?.text = "Disabled"
|
statusTxt?.text = "Disabled"
|
||||||
|
statusTxt?.setTextColor(R.color.Green)
|
||||||
vancedinstallbtn?.visibility = View.VISIBLE
|
vancedinstallbtn?.visibility = View.VISIBLE
|
||||||
val mIntent = Intent(activity, RootAppUninstaller::class.java)
|
val mIntent = Intent(activity, RootAppUninstaller::class.java)
|
||||||
mIntent.putExtra("Data", "com.vanced.stub")
|
mIntent.putExtra("Data", "com.vanced.stub")
|
||||||
|
@ -232,6 +233,7 @@ class HomeFragment : Home() {
|
||||||
}
|
}
|
||||||
SIGNATURE_ENABLED -> {
|
SIGNATURE_ENABLED -> {
|
||||||
statusTxt?.text = "Enabled"
|
statusTxt?.text = "Enabled"
|
||||||
|
statusTxt?.setTextColor(R.color.Red)
|
||||||
loadCircle?.visibility = View.GONE
|
loadCircle?.visibility = View.GONE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,5 +10,6 @@
|
||||||
|
|
||||||
<color name="Black">#000000</color>
|
<color name="Black">#000000</color>
|
||||||
<color name="Red">#CC0047</color>
|
<color name="Red">#CC0047</color>
|
||||||
|
<color name="Green">#00CC7A</color>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue