Open leolost2605 opened 6 months ago
It now won't hide when there is no preceding page since that caused problems with it not being mapped again because it's not visible so that it won't recheck whether anything changed. It could still be implemented if needed but since there's usually always exactly one page that's the first and we know which one it is (Home on appcenter, category on settings, welcome on videos) I don't think it's worth the effort.
I think @tintou has some thoughts about adding Adw as a dep here in Granite
Introduce a BackButton that automatically lables itself correctly with the preceding page and navigates back when clicked. Useful for elementary/switchboard#300 as well as in videos, appcenter, etc.
This will introduce an Adw dependency with minimum required version 1.4 which will break building granite on OS 7