Move Models and Actions slint definitions in the shared directory

This commit is contained in:
Vyn 2025-06-24 12:04:54 +02:00
parent f2f472a595
commit 72b004b7b0
Signed by: vyn
GPG key ID: E1B2BE34E7A971E7
15 changed files with 58 additions and 66 deletions

View file

@ -1,7 +1,7 @@
import { Palette } from "@selenite";
import { VTextInput } from "../../external/selenite/components/TextInput.slint";
import { VButton, VText, VDatePicker } from "../../external/selenite/components/index.slint";
import { AppWindowActions } from "../windows/AppWindow/Actions.slint";
import { AppActions } from "../shared/Actions.slint";
import { Modal } from "../../external/selenite/components/Modal.slint";
import { VTimePicker } from "../../external/selenite/components/TimePicker.slint";
@ -30,7 +30,7 @@ export component AddEventModal inherits Modal {
VButton {
text: "Create";
clicked => {
AppWindowActions.create-event({
AppActions.create-event({
title: titleInput.text,
date: dateInput.date,
startsAt: startTimeInput.time,