mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
setup image resize processor
This commit is contained in:
parent
0020c7be94
commit
168676075f
8 changed files with 80 additions and 21 deletions
|
|
@ -35,7 +35,7 @@ class BackupNotifier extends StateNotifier<BackUpState> {
|
|||
void getBackupInfo() async {
|
||||
_updateServerInfo();
|
||||
|
||||
List<AssetPathEntity> list = await PhotoManager.getAssetPathList(onlyAll: true, type: RequestType.image);
|
||||
List<AssetPathEntity> list = await PhotoManager.getAssetPathList(onlyAll: true, type: RequestType.common);
|
||||
|
||||
if (list.isEmpty) {
|
||||
debugPrint("No Asset On Device");
|
||||
|
|
@ -59,7 +59,7 @@ class BackupNotifier extends StateNotifier<BackUpState> {
|
|||
// await PhotoManager.presentLimited();
|
||||
// Gather assets info
|
||||
List<AssetPathEntity> list =
|
||||
await PhotoManager.getAssetPathList(hasAll: true, onlyAll: true, type: RequestType.image);
|
||||
await PhotoManager.getAssetPathList(hasAll: true, onlyAll: true, type: RequestType.common);
|
||||
|
||||
if (list.isEmpty) {
|
||||
debugPrint("No Asset On Device - Abort Backup Process");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue