Merge pull request #154 from ente-io/fix_sort

Fix sort
This commit is contained in:
Vishnu Mohandas 2021-12-23 12:07:36 +05:30 committed by GitHub
commit f81f42fb40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -407,8 +407,7 @@ class RemoteSyncService {
void _moveVideosToEnd(List<File> file) {
file.sort((first, second) {
if (first.fileType == FileType.video &&
second.fileType == FileType.video) {
if (first.fileType == second.fileType) {
return 0;
} else if (first.fileType == FileType.video) {
return 1;

View file

@ -11,7 +11,7 @@ description: ente photos application
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.4.4+264
version: 0.4.5+265
environment:
sdk: ">=2.10.0 <3.0.0"