refactor: strip obvious comments

This commit is contained in:
edde746
2026-05-04 22:40:18 +02:00
parent fdaff3687d
commit ed4be7b96d
162 changed files with 208 additions and 1440 deletions
@@ -5,7 +5,6 @@ import '../utils/platform_detector.dart';
import 'macos_window_service.dart';
import 'native_window_service.dart';
/// Global manager for tracking fullscreen state across the app
class FullscreenStateManager extends ChangeNotifier with WindowListener {
static final FullscreenStateManager _instance = FullscreenStateManager._internal();
@@ -91,7 +90,6 @@ class FullscreenStateManager extends ChangeNotifier with WindowListener {
}
}
/// Start monitoring fullscreen state
void startMonitoring() {
if (!_shouldMonitor() || _isListening) return;
@@ -103,7 +101,6 @@ class FullscreenStateManager extends ChangeNotifier with WindowListener {
}
}
/// Stop monitoring fullscreen state
void stopMonitoring() {
if (_isListening) {
windowManager.removeListener(this);
@@ -115,7 +112,6 @@ class FullscreenStateManager extends ChangeNotifier with WindowListener {
return PlatformDetector.isDesktopOS();
}
// WindowListener callbacks for Windows/Linux
@override
void onWindowEnterFullScreen() {
setFullscreen(true);