feat: config, registry autodetect, remember domains

This commit is contained in:
2026-08-26 00:06:30 +05:00
parent 3f5923ad6d
commit c7557c163a
7 changed files with 353 additions and 83 deletions
+2 -1
View File
@@ -58,6 +58,7 @@ export component MainWindow inherits Window {
title: "bropicker";
in property <[BrowserConfig]> browser-model: [];
in property <string> current-url: "";
in property <string> current-domain: "";
in-out property <bool> remember-choice: false;
in-out property <bool> always-ask: true;
in property <int> selected-index: 0;
@@ -141,7 +142,7 @@ export component MainWindow inherits Window {
padding-bottom: 8px;
CheckRow {
label: "Запомнить выбор для " + root.current-url;
label: "Запомнить выбор для " + root.current-domain;
checked <=> root.remember-choice;
toggled => {
root.toggle-remember(root.remember-choice);