After starting a new activity and choosing its tag, a user can "swipe back" on the activity list to return to the previous tag list.
This happens because the navigation pushes a new navigation stack frame when returning to the activities list. Thus, the "swipe back" clears that stack frame to return to the previous tag list.
The expected behavior of the "swipe back" gesture on the activity list is that the app closes (goes back to the previous screen offered by the operating system).
I presume the solution is to clear/reset that navigation stack when moving from the TagScreen to the ActivitiesScreen.
After starting a new activity and choosing its tag, a user can "swipe back" on the activity list to return to the previous tag list.
This happens because the navigation pushes a new navigation stack frame when returning to the activities list. Thus, the "swipe back" clears that stack frame to return to the previous tag list.
The expected behavior of the "swipe back" gesture on the activity list is that the app closes (goes back to the previous screen offered by the operating system).
I presume the solution is to clear/reset that navigation stack when moving from the TagScreen to the ActivitiesScreen.