Initial port to Libadwaita 1.4

This commit is contained in:
kramo
2023-07-04 18:49:06 +02:00
parent 0efa05514c
commit 5fd6ea20f4
9 changed files with 335 additions and 355 deletions

View File

@@ -222,8 +222,8 @@ class PreferencesWindow(Adw.PreferencesWindow):
game.save()
game.update()
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action()
if self.win.navigation_view.get_visible_page() == self.win.details_page:
self.win.navigation_view.pop()
self.add_toast(self.toast)