mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-06-28 15:39:56 +00:00
fix: duplicated toast
Signed-off-by: 0xMRTT <0xMRTT@proton.me>
This commit is contained in:
parent
905dc8235b
commit
f33d005288
|
@ -618,10 +618,6 @@ class GradienceApplication(Adw.Application):
|
|||
Adw.Toast(title=_("Preset has been set. Log out to apply changes."))
|
||||
)
|
||||
|
||||
toast = Adw.Toast()
|
||||
toast.set_title(_("Preset has been set. Log out to apply changes."))
|
||||
self.win.toast_overlay.add_toast(toast)
|
||||
|
||||
def show_preferences(self, *_args):
|
||||
prefs = GradiencePreferencesWindow(self.win)
|
||||
prefs.present()
|
||||
|
|
Loading…
Reference in a new issue