diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2020-10-01 19:19:36 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2020-10-01 19:19:36 +0300 |
commit | f4799967ec23d32e25448ee6900f058d1856f430 (patch) | |
tree | 66a13d92803cd6bb50fdfb5df55c1651a09ffb6f /iOSClient | |
parent | ccfad7429d4572bbe4511024523620f259941ff0 (diff) |
coding
Diffstat (limited to 'iOSClient')
-rw-r--r-- | iOSClient/FileViewInFolder/NCFileViewInFolder.swift | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/iOSClient/FileViewInFolder/NCFileViewInFolder.swift b/iOSClient/FileViewInFolder/NCFileViewInFolder.swift index b2c2c3feb..5a994f167 100644 --- a/iOSClient/FileViewInFolder/NCFileViewInFolder.swift +++ b/iOSClient/FileViewInFolder/NCFileViewInFolder.swift @@ -33,7 +33,6 @@ class NCFileViewInFolder: NCCollectionViewCommon { super.init(coder: aDecoder) appDelegate.activeFileViewInFolder = self - titleCurrentFolder = "" layoutKey = k_layout_view_viewInFolder enableSearchBar = false DZNimage = CCGraphics.changeThemingColorImage(UIImage.init(named: "folder"), width: 300, height: 300, color: NCBrandColor.sharedInstance.brandElement) @@ -98,7 +97,10 @@ class NCFileViewInFolder: NCCollectionViewCommon { if let row = dataSource.getIndexMetadata(ocId: metadata.ocId) { DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { self.collectionView.scrollToItem(at: IndexPath(row: row, section: 0), at: .centeredVertically, animated: true) - self.fileName = nil + if let cell = self.collectionView.cellForItem(at: IndexPath(row: row, section: 0)) { + NCUtility.shared.blink(cell: cell) + self.fileName = nil + } } } } |