Skip to content

Commit

Permalink
refactor: 移除重置背景图片设置
Browse files Browse the repository at this point in the history
移除了设置页面中重置背景图片的设置项。
  • Loading branch information
Mystery00 committed Sep 4, 2024
1 parent 10e1c6d commit c5f3019
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import vip.mystery0.xhu.timetable.config.store.GlobalCacheStore
import vip.mystery0.xhu.timetable.config.store.GlobalConfigStore
import vip.mystery0.xhu.timetable.config.store.PoemsStore
import vip.mystery0.xhu.timetable.config.store.setCacheStore
import vip.mystery0.xhu.timetable.config.store.setConfigStore
import vip.mystery0.xhu.timetable.isIgnoringBatteryOptimizations
import vip.mystery0.xhu.timetable.joinQQGroup
import vip.mystery0.xhu.timetable.loadInBrowser
Expand Down Expand Up @@ -404,19 +403,6 @@ class SettingsActivity : BaseSelectComposeActivity() {
onClick = { joinQQGroup(false) }
)
}
XhuSettingsGroup(title = {
Text(text = "重置设置")
}) {
XhuSettingsMenuLink(
title = { Text(text = "重置背景图片") },
onClick = {
scope.launch {
setConfigStore { backgroundImage = null }
"背景图已重置".toast()
}
}
)
}
XhuSettingsGroup(title = {
Text(text = "应用关于")
}) {
Expand Down

0 comments on commit c5f3019

Please sign in to comment.