diff --git a/lib/services/remote_sync_service.dart b/lib/services/remote_sync_service.dart index 72b7dd5c1..85a45ee3a 100644 --- a/lib/services/remote_sync_service.dart +++ b/lib/services/remote_sync_service.dart @@ -407,8 +407,7 @@ class RemoteSyncService { void _moveVideosToEnd(List 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; diff --git a/pubspec.yaml b/pubspec.yaml index 824bdd769..758b16276 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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"