diff --git a/app/src/main/java/com/sevtinge/hyperceiler/module/hook/mishare/NoAutoTurnOff.kt b/app/src/main/java/com/sevtinge/hyperceiler/module/hook/mishare/NoAutoTurnOff.kt index 8e2e812885..e6d7442641 100644 --- a/app/src/main/java/com/sevtinge/hyperceiler/module/hook/mishare/NoAutoTurnOff.kt +++ b/app/src/main/java/com/sevtinge/hyperceiler/module/hook/mishare/NoAutoTurnOff.kt @@ -23,6 +23,7 @@ import android.widget.* import com.github.kyuubiran.ezxhelper.EzXHelper.safeClassLoader import com.github.kyuubiran.ezxhelper.HookFactory.`-Static`.createHook import com.github.kyuubiran.ezxhelper.HookFactory.`-Static`.createHooks +import com.sevtinge.hyperceiler.* import com.sevtinge.hyperceiler.module.base.* import com.sevtinge.hyperceiler.module.base.dexkit.* import com.sevtinge.hyperceiler.module.base.dexkit.DexKitTool.addUsingStringsEquals @@ -268,6 +269,8 @@ object NoAutoTurnOff : BaseHook() { }) } } + mResHook.setResReplacement("com.miui.mishare.connectivity", "string", "switch_mode_all", R.string.mishare_hook_switch_mode_all) } + } } diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 927fba32f0..b36fb49768 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -1437,6 +1437,7 @@ 小米互传 禁用自动关闭小米互传 解锁极速传输模式 + 所有人 壁纸 解锁超级壁纸 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4f05d63ecb..85812808df 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1405,6 +1405,7 @@ Xiaomi Share Disable automatic closing of Xiaomi Share Unlock Turbo transfer + Everyone Wallpaper Unlock Super wallpaper