mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 01:33:19 +00:00
Generate default config file if it doesn't exist
This commit is contained in:
parent
cbaa1b58d8
commit
924e35ecc4
2 changed files with 13 additions and 1 deletions
|
@ -63,6 +63,10 @@ export component MainView inherits Rectangle {
|
|||
VerticalLayout {
|
||||
alignment: start;
|
||||
spacing: 16px;
|
||||
if Backend.visible_tasks.length == 0 : VText {
|
||||
text: "There is no task to show";
|
||||
horizontal-alignment: center;
|
||||
}
|
||||
for day[dayIndex] in Backend.visible_tasks: VerticalLayout {
|
||||
Rectangle {
|
||||
background: Palette.card-background;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue