mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-12 11:21:18 +08:00
Update HideHDIconForT.kt
This commit is contained in:
@@ -42,6 +42,7 @@ object HideHDIconForT : YukiBaseHooker() {
|
|||||||
}
|
}
|
||||||
private fun hide(it: HookParam) {
|
private fun hide(it: HookParam) {
|
||||||
hasEnable("hide_big_hd_icon") {
|
hasEnable("hide_big_hd_icon") {
|
||||||
|
//从当前实例中,获取名为mVolte的Field,并转换成ImageView类型,操作可见度
|
||||||
it.instance.current().field {name = "mVolte" }.cast<ImageView>()?.visibility = View.GONE
|
it.instance.current().field {name = "mVolte" }.cast<ImageView>()?.visibility = View.GONE
|
||||||
}
|
}
|
||||||
hasEnable("hide_small_hd_icon") {
|
hasEnable("hide_small_hd_icon") {
|
||||||
|
|||||||
Reference in New Issue
Block a user