mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-13 20:01:17 +08:00
新增背屏天气
This commit is contained in:
@@ -195,7 +195,8 @@ class SettingsActivity : MIUIActivity() {
|
||||
"killall com.android.updater",
|
||||
"killall com.miui.mediaeditor",
|
||||
"killall com.miui.screenshot",
|
||||
"killall com.milink.service"
|
||||
"killall com.milink.service",
|
||||
"killall com.xiaomi.misubscreenui",
|
||||
)
|
||||
ShellUtils.execCommand(command, true)
|
||||
dismiss()
|
||||
@@ -854,7 +855,7 @@ class SettingsActivity : MIUIActivity() {
|
||||
}
|
||||
show()
|
||||
}
|
||||
},dataBindingRecv = customMobileTypeTextBinding.binding.getRecv(2)
|
||||
}, dataBindingRecv = customMobileTypeTextBinding.binding.getRecv(2)
|
||||
)
|
||||
)
|
||||
val bigMobileTypeIconBinding = getDataBinding(
|
||||
@@ -1605,6 +1606,16 @@ class SettingsActivity : MIUIActivity() {
|
||||
)
|
||||
)
|
||||
add(LineV())
|
||||
add(TitleTextV(resId = R.string.rear_display))
|
||||
add(
|
||||
TextSummaryWithSwitchV(
|
||||
TextSummaryV(
|
||||
textId = R.string.show_weather_main_switch,
|
||||
),
|
||||
SwitchV("rear_show_weather")
|
||||
)
|
||||
)
|
||||
add(LineV())
|
||||
add(TitleTextV(resId = R.string.remove_ad))
|
||||
add(
|
||||
TextSummaryWithSwitchV(
|
||||
|
||||
Reference in New Issue
Block a user