Added image previews before sending! + Fixed sintaxis in nb_NO and fr translations

This commit is contained in:
jeffser
2024-07-08 13:33:02 -06:00
parent 0d725d430b
commit e0e2b5c3c2
5 changed files with 48 additions and 21 deletions

View File

@@ -152,10 +152,10 @@ def delete_model(self, model_name):
def remove_attached_file_response(self, dialog, task, name):
if dialog.choose_finish(task) == 'remove':
self.file_preview_dialog.close()
self.remove_attached_file(name)
def remove_attached_file(self, name):
self.file_preview_dialog.close()
dialog = Adw.AlertDialog(
heading=_("Remove Attachment?"),
body=_("Are you sure you want to remove attachment?"),