From c7164e2c71580fd7b5f9b02cf5c3e5bd669d82f6 Mon Sep 17 00:00:00 2001
From: HuanCheng65 <22636177+HuanCheng65@users.noreply.github.com>
Date: Thu, 1 Feb 2024 13:15:09 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E6=96=B0=20UI=20?=
=?UTF-8?q?=E9=80=89=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ui/page/settings/more/MoreSettingsPage.kt | 22 -------------------
app/src/main/res/values/strings.xml | 2 --
2 files changed, 24 deletions(-)
diff --git a/app/src/main/java/com/huanchengfly/tieba/post/ui/page/settings/more/MoreSettingsPage.kt b/app/src/main/java/com/huanchengfly/tieba/post/ui/page/settings/more/MoreSettingsPage.kt
index 749babb3..99ecc1ad 100644
--- a/app/src/main/java/com/huanchengfly/tieba/post/ui/page/settings/more/MoreSettingsPage.kt
+++ b/app/src/main/java/com/huanchengfly/tieba/post/ui/page/settings/more/MoreSettingsPage.kt
@@ -7,7 +7,6 @@ import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.BugReport
-import androidx.compose.material.icons.outlined.FiberNew
import androidx.compose.material.icons.outlined.Info
import androidx.compose.material.icons.outlined.OfflineBolt
import androidx.compose.runtime.Composable
@@ -40,7 +39,6 @@ import com.huanchengfly.tieba.post.ui.widgets.compose.LocalSnackbarHostState
import com.huanchengfly.tieba.post.ui.widgets.compose.MyScaffold
import com.huanchengfly.tieba.post.ui.widgets.compose.Sizes
import com.huanchengfly.tieba.post.ui.widgets.compose.TitleCentredToolbar
-import com.huanchengfly.tieba.post.utils.AppIconUtil
import com.huanchengfly.tieba.post.utils.ImageCacheUtil
import com.huanchengfly.tieba.post.utils.appPreferences
import com.ramcosta.composedestinations.annotation.Destination
@@ -105,26 +103,6 @@ fun MoreSettingsPage(
)
}
}
- prefsItem {
- SwitchPref(
- leadingIcon = {
- LeadingIcon {
- AvatarIcon(
- icon = Icons.Outlined.FiberNew,
- size = Sizes.Small,
- contentDescription = null,
- )
- }
- },
- key = "enable_new_ui",
- title = stringResource(id = R.string.title_enable_new_ui),
- defaultChecked = true,
- summary = stringResource(id = R.string.summary_enable_new_ui),
- onCheckedChange = {
- AppIconUtil.setIcon()
- }
- )
- }
prefsItem {
SwitchPref(
leadingIcon = {
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 74b8672b..fb749e4e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -390,8 +390,6 @@
发送回复
插入图片
表情 %s
- 启用新版 UI。部分页面尚未完成,BUG 可能较多,仅供尝鲜使用!
- 启用新版 UI
请忽略“电池优化”
在 Android 12 及以上版本中,后台启动前台服务被严格限制。为了避免一键签到无法正常启动,请忽略本应用的“电池优化”。
好的,去忽略