Fix toasts

This commit is contained in:
Michael Catanzaro 2024-07-14 07:35:47 -05:00
parent 427853e5ef
commit e163e4061e

View file

@ -110,7 +110,7 @@ public class ChessWindow : Adw.ApplicationWindow
if (toast == null)
toast = app.compute_status_info ();
if (toast != null)
toast_overlay.add_toast (new Adw.Toast (app.compute_status_info ()));
toast_overlay.add_toast (new Adw.Toast (toast));
}
public void update_pause_resume_button ()