feat: retire FOB and sheet; settings as a Mews page and actions on the address bar

This commit is contained in:
randogoth 2026-10-11 12:14:32 +03:00
parent 6f9c0e587a
commit 28ff7ca327
10 changed files with 324 additions and 361 deletions

View file

@ -84,6 +84,15 @@ class BrowserController {
Future<void> open(String input) async {
final url = normalizeAddress(input);
if (url.isEmpty) return;
// Setting links change a value and stay on the current page instead of
// joining the walk history.
if (InternalPages.isSettingUrl(url)) {
await _internalPages?.applySetting(url);
await _loadCurrent();
return;
}
_stack.removeRange(_stackIndex + 1, _stack.length);
_stack.add(url);
_stackIndex++;