Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarinofaggiana <marino@marinofaggiana.com>2020-10-01 19:19:36 +0300
committermarinofaggiana <marino@marinofaggiana.com>2020-10-01 19:19:36 +0300
commitf4799967ec23d32e25448ee6900f058d1856f430 (patch)
tree66a13d92803cd6bb50fdfb5df55c1651a09ffb6f /iOSClient
parentccfad7429d4572bbe4511024523620f259941ff0 (diff)
coding
Diffstat (limited to 'iOSClient')
-rw-r--r--iOSClient/FileViewInFolder/NCFileViewInFolder.swift6
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
+ }
}
}
}