Revert "feat: bump deps"

This reverts commit 6263a0a5e6.
This commit is contained in:
xkeyC
2026-02-02 19:05:34 +08:00
parent 9a0b97476e
commit 43e7154ffc
23 changed files with 110 additions and 95 deletions

View File

@@ -183,9 +183,6 @@ class AppGlobalModel extends _$AppGlobalModel {
state = state.copyWith(windowsVersion: 10);
await Window.setEffect(effect: WindowEffect.disabled);
}
} else {
state = state.copyWith(windowsVersion: 9);
await Window.setEffect(effect: WindowEffect.disabled);
}
// Show window after acrylic effect is applied
await windowManager.show();
@@ -268,8 +265,6 @@ class AppGlobalModel extends _$AppGlobalModel {
Timer? _activityThemeColorTimer;
void checkActivityThemeColor(AppVersionData networkVersionData) {
final isDisableAcrylic = state.windowsVersion <= 11;
if (_activityThemeColorTimer != null) {
_activityThemeColorTimer?.cancel();
_activityThemeColorTimer = null;
@@ -293,8 +288,8 @@ class AppGlobalModel extends _$AppGlobalModel {
final colorCfg = networkVersionData.activityColors;
state = state.copyWith(
themeConf: ThemeConf(
backgroundColor: HexColor(colorCfg?.background ?? "#132431").withValues(alpha: isDisableAcrylic ? 1 : .75),
menuColor: HexColor(colorCfg?.menu ?? "#132431").withValues(alpha: isDisableAcrylic ? 1 : .95),
backgroundColor: HexColor(colorCfg?.background ?? "#132431").withValues(alpha: .75),
menuColor: HexColor(colorCfg?.menu ?? "#132431").withValues(alpha: .95),
micaColor: HexColor(colorCfg?.mica ?? "#0A3142"),
),
);
@@ -308,8 +303,8 @@ class AppGlobalModel extends _$AppGlobalModel {
dPrint("reset Color ....");
state = state.copyWith(
themeConf: ThemeConf(
backgroundColor: HexColor("#132431").withValues(alpha: isDisableAcrylic ? 1 : .75),
menuColor: HexColor("#132431").withValues(alpha: isDisableAcrylic ? 1 : .95),
backgroundColor: HexColor("#132431").withValues(alpha: .75),
menuColor: HexColor("#132431").withValues(alpha: .95),
micaColor: HexColor("#0A3142"),
),
);