Browse Source

Update Share/NCShareExtension.swift

Co-authored-by: Henry <thisisthefoxe@gmail.com>
Marino Faggiana 3 years ago
parent
commit
fea558d3be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Share/NCShareExtension.swift

+ 1 - 1
Share/NCShareExtension.swift

@@ -66,7 +66,7 @@ class NCShareExtension: UIViewController, NCListCellDelegate, NCEmptyDataSetDele
     private var activeAccount: tableAccount!
     private let chunckSize = CCUtility.getChunkSize() * 1000000
     
-    private var numberFilesName: Int = 0
+    private var numberFilesName: Int { filesName.count }
     private var counterUpload: Int = 0
     
     // MARK: - View Life Cycle