|
|
@@ -201,7 +201,7 @@ class PhotoPreviewController extends BaseController
|
|
|
selectedFilesSize.value = totalSize;
|
|
|
},
|
|
|
);
|
|
|
-
|
|
|
+ PhotoManager.clearFileCache();
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -288,7 +288,7 @@ class PhotoPreviewController extends BaseController
|
|
|
CardSwiperDirection direction,
|
|
|
) {
|
|
|
print(
|
|
|
- 'The card $previousIndex was swiped to the ${direction.name}. Now the card $currentIndex is on top',
|
|
|
+ 'onSwipe The card $previousIndex was swiped to the ${direction.name}. Now the card $currentIndex is on top',
|
|
|
);
|
|
|
if (currentIndex != null) {
|
|
|
groupIndex.value = currentIndex;
|
|
|
@@ -311,6 +311,7 @@ class PhotoPreviewController extends BaseController
|
|
|
}
|
|
|
selectedFileCount.value = selectedPhotosIds.length;
|
|
|
updateSelectedFilesSize();
|
|
|
+
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
@@ -321,7 +322,7 @@ class PhotoPreviewController extends BaseController
|
|
|
) {
|
|
|
|
|
|
print(
|
|
|
- 'The card $currentIndex was swiped back to the ${direction.name}. Now the card $previousIndex is on top');
|
|
|
+ 'onSwiperUndo The card $currentIndex was swiped back to the ${direction.name}. Now the card $previousIndex is on top');
|
|
|
|
|
|
groupIndex.value = currentIndex;
|
|
|
// 撤销之前左滑的操作
|
|
|
@@ -334,7 +335,7 @@ class PhotoPreviewController extends BaseController
|
|
|
}
|
|
|
selectedFileCount.value = selectedPhotosIds.length;
|
|
|
updateSelectedFilesSize();
|
|
|
- PhotoManager.clearFileCache();
|
|
|
+
|
|
|
|
|
|
return true;
|
|
|
}
|