feat: update toast

This commit is contained in:
0xMRTT 2022-09-03 17:00:59 +02:00
parent 4d7864e68d
commit ddb7a85142
No known key found for this signature in database
GPG key ID: AC9E06BF3DECB6FB

View file

@ -50,7 +50,7 @@ class GradienceRepoRow(Adw.ActionRow):
@Gtk.Template.Callback()
def on_remove_button_clicked(self, *_args):
self.toast_overlay.add_toast(
self.win.delete_toast
Adw.Toast(title=_("Repository removed"))
)
self.win.remove_repo(self.name)