advanced desktop mode

This commit is contained in:
Fabian Freund
2026-06-06 15:39:09 +02:00
parent 4a12acab99
commit 370c422e12
23 changed files with 732 additions and 78 deletions
@@ -52,6 +52,7 @@ import 'package:weblibre/features/user/domain/repositories/engine_settings.dart'
import 'package:weblibre/features/user/domain/repositories/general_settings.dart';
import 'package:weblibre/features/web_search/domain/controllers/sandbox_capture_controller.dart';
import 'package:weblibre/utils/exit_app.dart';
import 'package:weblibre/utils/host_rules.dart';
import 'package:weblibre/utils/move_to_background.dart';
part 'gesture_control.g.dart';
@@ -311,7 +312,7 @@ bool gestureSiteExcluded(Ref ref) {
final url = ref.watch(tabStateProvider(tabId).select((state) => state?.url));
if (url == null) return false;
return isGestureSiteExcluded(url, excludedSites);
return hostMatchesRule(url, excludedSites);
}
/// The effective native recognizer configuration: the user's settings with the
@@ -143,7 +143,7 @@ final class GestureSiteExcludedProvider
}
String _$gestureSiteExcludedHash() =>
r'15dd371a176303a7c52c37df560c93bbb03c5039';
r'c7c9f8128a7262b858c954b7217d6a00f1d062e4';
/// The effective native recognizer configuration: the user's settings with the
/// recognizer disabled while the current site is excluded.