代码优化2

This commit is contained in:
DelLevin-Home
2026-06-27 19:20:03 +08:00
parent bcff4f6c01
commit a1fe0a23ef
31 changed files with 285 additions and 162 deletions

View File

@@ -1660,7 +1660,7 @@ class _SettingsPageState extends State<SettingsPage> {
value: value,
onChanged: onChanged,
activeColor: colors.primary,
activeTrackColor: colors.primary.withOpacity(0.3),
activeTrackColor: colors.primary.withValues(alpha: 0.3),
inactiveThumbColor: colors.surface,
inactiveTrackColor: colors.outline),
],
@@ -2110,7 +2110,7 @@ class _MainContentSettingsPageState extends State<MainContentSettingsPage> {
value: value,
onChanged: onChanged,
activeColor: colors.primary,
activeTrackColor: colors.primary.withOpacity(0.3),
activeTrackColor: colors.primary.withValues(alpha: 0.3),
inactiveThumbColor: colors.surface,
inactiveTrackColor: colors.outline),
);