feat: Add heading to quit dialog and tweak text

This commit is contained in:
Daudix_UFO 2023-05-14 17:15:59 +03:00
parent 74a25909c1
commit 2922971136
No known key found for this signature in database
GPG Key ID: 93ECF15D3053D81C

View File

@ -194,7 +194,8 @@ class BavarderApplication(Adw.Application):
self.close_all()
else:
dialog = Adw.MessageDialog(
body="Are you sure you want to close all windows?",
heading="Close all windows?",
body="Closing all windows will lead to chat data loss",
transient_for=self.props.active_window,
)
dialog.add_response("cancel", "Cancel")