opt icons

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-02 17:13:33 +08:00
parent ef9d5060b0
commit 069424f9b6
8 changed files with 55 additions and 140 deletions

View File

@@ -70,14 +70,7 @@ List<SettingsModel> get extraSettings => [
normalModel: const NormalModel.split(
title: '空降助手',
subtitle: '点击配置',
leading: Stack(
clipBehavior: Clip.none,
alignment: Alignment.center,
children: [
Icon(Icons.shield_outlined),
Icon(Icons.play_arrow_rounded, size: 15),
],
),
leading: Icon(CustomIcons.shield_play_arrow),
),
switchModel: SwitchModel.split(
defaultVal: false,
@@ -356,14 +349,7 @@ List<SettingsModel> get extraSettings => [
const SwitchModel(
title: '发评反诈',
subtitle: '发送评论后检查评论是否可见',
leading: Stack(
clipBehavior: Clip.none,
alignment: Alignment.center,
children: [
Icon(Icons.shield_outlined),
Icon(Icons.reply, size: 14),
],
),
leading: Icon(CustomIcons.shield_reply),
setKey: SettingBoxKey.enableCommAntifraud,
defaultVal: false,
),
@@ -380,41 +366,20 @@ List<SettingsModel> get extraSettings => [
const SwitchModel(
title: '发布/转发动态反诈',
subtitle: '发布/转发动态后检查动态是否可见',
leading: Stack(
clipBehavior: Clip.none,
alignment: Alignment.center,
children: [
Icon(Icons.shield_outlined),
Icon(Icons.motion_photos_on, size: 12),
],
),
leading: Icon(CustomIcons.shield_published),
setKey: SettingBoxKey.enableCreateDynAntifraud,
defaultVal: false,
),
SwitchModel(
title: '屏蔽带货动态',
leading: const Stack(
clipBehavior: Clip.none,
alignment: Alignment.center,
children: [
Icon(Icons.shopping_bag_outlined, size: 14),
Icon(Icons.not_interested),
],
),
leading: const Icon(CustomIcons.shopping_bag_not_interested),
setKey: SettingBoxKey.antiGoodsDyn,
defaultVal: false,
onChanged: (value) => DynamicsDataModel.antiGoodsDyn = value,
),
SwitchModel(
title: '屏蔽带货评论',
leading: const Stack(
clipBehavior: Clip.none,
alignment: Alignment.center,
children: [
Icon(Icons.shopping_bag_outlined, size: 14),
Icon(Icons.not_interested),
],
),
leading: const Icon(CustomIcons.shopping_bag_not_interested),
setKey: SettingBoxKey.antiGoodsReply,
defaultVal: false,
onChanged: (value) => ReplyGrpc.antiGoodsReply = value,