marinofaggiana 4 年之前
父節點
當前提交
2722b01112
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Share/NCShareExtension.swift

+ 2 - 0
Share/NCShareExtension.swift

@@ -335,6 +335,8 @@ extension NCShareExtension: UICollectionViewDataSource {
 
     func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView {
         
+        self.navigationItem.title = titleCurrentFolder
+        
         if kind == UICollectionView.elementKindSectionHeader {
             
             let header = collectionView.dequeueReusableSupplementaryView(ofKind: kind, withReuseIdentifier: "sectionHeaderMenu", for: indexPath) as! NCSectionHeaderMenu