selectAlbum method
Switch to album (or null for Recents) and reload the grid.
Implementation
Future<void> selectAlbum(XAlbum? album) async {
if (_closed || album?.id == _currentAlbum?.id) return;
_currentAlbum = album;
await _refreshPhotos();
}