mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-12 15:52:31 +00:00
feat: update toast
This commit is contained in:
parent
4d7864e68d
commit
ddb7a85142
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class GradienceRepoRow(Adw.ActionRow):
|
||||||
@Gtk.Template.Callback()
|
@Gtk.Template.Callback()
|
||||||
def on_remove_button_clicked(self, *_args):
|
def on_remove_button_clicked(self, *_args):
|
||||||
self.toast_overlay.add_toast(
|
self.toast_overlay.add_toast(
|
||||||
self.win.delete_toast
|
Adw.Toast(title=_("Repository removed"))
|
||||||
)
|
)
|
||||||
|
|
||||||
self.win.remove_repo(self.name)
|
self.win.remove_repo(self.name)
|
||||||
|
|
Loading…
Reference in a new issue