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 及以上版本中,后台启动前台服务被严格限制。为了避免一键签到无法正常启动,请忽略本应用的“电池优化”。 好的,去忽略