* Fix todo's

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Imported from 09988fb4f6
This commit is contained in:
Nigel Breslaw 2025-09-17 16:50:47 +03:00 committed by Olivier Goffart
parent 28542ad76b
commit 6667c66b4c
2 changed files with 6 additions and 10 deletions

View file

@ -2,8 +2,6 @@
// Copyright © onWidget <https://github.com/onwidget>
// SPDX-License-Identifier: MIT
import { UI } from "astrowind:config";
// TODO: This code is temporary
---
<script is:inline define:vars={{ defaultTheme: UI.theme || 'system' }}>

View file

@ -86,10 +86,9 @@ export component MainView {
background: MaterialPalette.background;
if !MainWindowAdapter.break_layout : HorizontalLayout {
// TODO: Add back when missing items for 1.0 are resolved
// NavigationRail {
// items: root.navigation_items;
// }
NavigationRail {
items: root.navigation_items;
}
if root.current_view == Views.components : ComponentsView {
@ -102,10 +101,9 @@ export component MainView {
horizontal_stretch: 1;
}
// TODO: Add back when missing items for 1.0 are resolved
// NavigationBar {
// items: root.navigation_items;
// }
NavigationBar {
items: root.navigation_items;
}
}
}
}