mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 14:56:20 +01:00
Refactoring
This commit is contained in:
parent
a9b424f25d
commit
dfe1acc6e4
1 changed files with 1 additions and 6 deletions
|
@ -525,12 +525,7 @@ class _DynamicAlbumBrowserState extends State<DynamicAlbumBrowser>
|
||||||
}
|
}
|
||||||
|
|
||||||
void _transformItems(List<AlbumItem> items) {
|
void _transformItems(List<AlbumItem> items) {
|
||||||
if (_editAlbum != null) {
|
_sortedItems = (_editAlbum ?? _album)!.sortProvider.sort(items);
|
||||||
// edit mode
|
|
||||||
_sortedItems = _editAlbum!.sortProvider.sort(items);
|
|
||||||
} else {
|
|
||||||
_sortedItems = _album!.sortProvider.sort(items);
|
|
||||||
}
|
|
||||||
_onSortedItemsUpdated();
|
_onSortedItemsUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue