Implement Back Stack
Going back when you're in the section "Hidden Apps" takes you to the home instead of the settings
To Reproduce Steps to reproduce the behavior:
- Go to Settings
- Click on Hidden Apps
- Click on "←"
- Go back to the home instead of the settings
Instead going back to the home i think it's a good idea go back to the settings as expected.
ScreenRecord Google Drive
Smartphone:
- Device: OnePlus 3
- OS: Android 9.0.0 (Pie)
- App: V. Alpha 0.7
This is probably because a few versions back, the hidden apps section shortcut was in the bottom of the apps list along with the wallpaper and Niagara settings. In which case returning to home screen made sense. But since it's been moved into the settings, it should return to the settings itself. This is not a bug but a valid issue.
@xRayJiN yeah, good idea, thought the same a while ago. My current architecture doesn't allow "backstacking" (save previous states, which will reopen when clicking on the back button) yet, but I'm working on it right now.
That's great to know, thanks :D
@kklorenzotesta noticed:
On the add/replace widget menu when an app have more than one widget a click on it shows the list of widgets for that app. When pressing the back button I should go back to the main widget list instead of the main home, it is really annoying when I want to see which are the widgets that I can try.
Implemented in v0.18: https://medium.com/niagara-launcher/polishing-niagara-launcher-f9c6f7e0c6ab