harry 3 سال پیش
والد
کامیت
17913a6eb6
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      Introduce/Record/INPhotoVideosController.swift

+ 3 - 1
Introduce/Record/INPhotoVideosController.swift

@@ -25,6 +25,7 @@ class INPhotoVideosController: BFBaseViewController {
     lazy var albumController: BFPhotoAlbumController = {
         let albumController = BFPhotoAlbumController()
         albumController.mediaType = .all
+        albumController.showGIF = false
         albumController.isTopShow = true
         albumController.categoryH = cDefaultMargin * 40
         addChild(albumController)
@@ -104,6 +105,7 @@ class INPhotoVideosController: BFBaseViewController {
         let vc = BFPhotosMaterialController()
         vc.maxChoseNum = 20
         vc.msgType = .all
+        vc.showGIF = false
         vc.view.backgroundColor = .black
         vc.updateFrame(newFrame: CGRect(x: 0, y: navHeadImageView?.bottomY ?? 0, width: cScreenWidth, height: cScreenHeigth - cDevice_iPhoneTabBarHei - (navHeadImageView?.bottomY ?? 0)))
         vc.selectedMaterialHandle = { [weak self] _, selectedPhotoData, _, _ in
@@ -206,7 +208,7 @@ class INPhotoVideosController: BFBaseViewController {
         if seletedData != nil {
             changeCollecBtn.setTitle(seletedData?.title ?? "全部", for: .normal)
             changeCollecBtn.imagePosition(at: PQButtonImageEdgeInsetsStyle.right, space: cDefaultMargin / 2)
-            photoMaterialVc.assetCollection = seletedData?.assetCollection
+            photoMaterialVc.assetCollection = seletedData!.assetCollection
         }
     }