There was an error while loading. Please reload this page.
1 parent e559cab commit 6878135Copy full SHA for 6878135
1 file changed
TLPhotoPicker/Classes/TLPhotosPickerViewController.swift
@@ -595,7 +595,7 @@ extension TLPhotosPickerViewController: TLPhotoLibraryDelegate {
595
func loadCompleteAllCollection(collections: [TLAssetsCollection]) {
596
self.collections = collections
597
self.focusFirstCollection()
598
- let isEmpty = !self.collections.contains(where: { $0.assetCount > 0 })
+ let isEmpty = !self.collections.contains(where: { $0.assetCount > 0 || $0.useCameraButton })
599
self.subTitleStackView.isHidden = isEmpty
600
self.emptyView.isHidden = !isEmpty
601
self.emptyImageView.isHidden = self.emptyImageView.image == nil
0 commit comments