opt icons

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-02 16:07:29 +08:00
parent cdd9289e6d
commit c4847caa27
9 changed files with 56 additions and 141 deletions

View File

@@ -74,14 +74,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,
@@ -377,14 +370,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,
),
@@ -401,41 +387,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,