Add windows storage corruption detection

Fix core crash caused by windows resource manager restart

Optimize logs, requests, access to pages

Fix macos bypass domain issues
This commit is contained in:
chen08209
2025-02-03 23:32:00 +08:00
parent 6c27f2e2f1
commit c6266b7917
65 changed files with 3072 additions and 3573 deletions

View File

@@ -21,10 +21,11 @@ class _AppStateManagerState extends State<AppStateManager>
_updateNavigationsContainer(Widget child) {
return Selector2<AppState, Config, UpdateNavigationsSelector>(
selector: (_, appState, config) {
final group = appState.currentGroups;
final hasProfile = config.profiles.isNotEmpty;
return UpdateNavigationsSelector(
openLogs: config.appSetting.openLogs,
hasProxies: hasProfile && config.currentProfileId != null,
hasProxies: group.isNotEmpty && hasProfile,
);
},
builder: (context, state, child) {
@@ -91,7 +92,7 @@ class _AppStateManagerState extends State<AppStateManager>
@override
Widget build(BuildContext context) {
return Listener(
onPointerDown: (_) {
onPointerHover: (_) {
render?.resume();
},
child: _cacheStateChange(