Files
ente/mobile/lib
Ashil 11e5704414 [photos][mob] Deselect albums with back navigation in second tab (#6182)
## Description

Previously, back navigation would always go to the home screen, even
when albums are currently selected. This is unexpected because typically
back navigation first deselect everything if anything is selected.

This patch implements this expected behavior for albums on the second
tab. If at least one album is selected, all will be deselected when
going-back. Only when everything is deselect, the app transitions to the
first tab like before.

## Tests
2025-06-06 17:30:27 +05:30
..
2025-03-05 12:00:02 +05:30
2025-03-05 12:00:02 +05:30
2025-05-29 09:05:45 +05:30
2025-06-05 17:32:58 +05:30
2025-06-05 17:32:58 +05:30
2025-06-05 17:24:33 +05:30
2025-06-06 11:37:07 +05:30
2025-06-05 17:24:33 +05:30
2025-06-05 09:12:51 +05:30
2025-03-28 18:02:52 +05:30