Minor refactor

This commit is contained in:
Vishnu Mohandas 2020-05-05 23:43:54 +05:30
parent 2dae6159b7
commit 689a50c5f7
2 changed files with 0 additions and 4 deletions

View file

@ -36,7 +36,6 @@ class _AlbumPageState extends State<AlbumPage> {
logger.info("Deleting " + index.toString());
widget.album.photos.removeAt(index);
}
_selectedPhotos.clear();
});
},
),

View file

@ -55,9 +55,6 @@ class _HomeWidgetState extends State<HomeWidget> {
widget.title,
_selectedPhotos,
onSelectionClear: _clearSelectedPhotos,
onPhotosDeleted: (_) {
_clearSelectedPhotos();
},
),
bottomNavigationBar: _buildBottomNavigationBar(),
body: FutureBuilder<bool>(