1
Fork 0
mirror of https://github.com/redstrate/Auracite.git synced 2025-05-08 19:47:45 +00:00

Improve the message banner on the desktop version

Now it's closable, and it hides itself the next time you try to archive
a character.
This commit is contained in:
Joshua Goins 2025-05-07 21:05:38 -04:00
parent 6f99f2974f
commit a779778f9c

View file

@ -40,6 +40,7 @@ Kirigami.ApplicationWindow {
position: Kirigami.InlineMessage.Position.Header
actions: type === Kirigami.MessageType.Information ? [openArchiveAction] : []
showCloseButton: true
Layout.fillWidth: true
}
@ -104,6 +105,7 @@ Kirigami.ApplicationWindow {
text: i18nc("@action:button", "Archive")
enabled: inputField.text.length > 0
onClicked: {
messageBanner.visible = false;
fileDialog.selectedFile = inputField.text;
fileDialog.open();
}