Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/src/components/common/ApplyColorMode.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}>
Expand Down
14 changes: 6 additions & 8 deletions examples/gallery/ui/views/main_view.slint
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}
}
}
}
Expand Down