mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-17 13:58:05 +00:00
material: Fix todo's (https://github.com/slint-ui/material-components/issues/177)
* 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:
parent
28542ad76b
commit
6667c66b4c
2 changed files with 6 additions and 10 deletions
|
@ -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' }}>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue