diff --git a/iOSClient/Main/Collection Common/NCCollectionViewCommon+CollectionViewDataSource.swift b/iOSClient/Main/Collection Common/NCCollectionViewCommon+CollectionViewDataSource.swift index c651e7a6b7..dade73c60e 100644 --- a/iOSClient/Main/Collection Common/NCCollectionViewCommon+CollectionViewDataSource.swift +++ b/iOSClient/Main/Collection Common/NCCollectionViewCommon+CollectionViewDataSource.swift @@ -479,8 +479,6 @@ extension NCCollectionViewCommon: UICollectionViewDataSource { return cell } - - func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView { func setContent(header: UICollectionReusableView, indexPath: IndexPath) { let (heightHeaderRichWorkspace, heightHeaderRecommendations, heightHeaderTransfer, heightHeaderSection) = getHeaderHeight(section: indexPath.section) @@ -492,7 +490,11 @@ extension NCCollectionViewCommon: UICollectionViewDataSource { if let header = header as? NCSectionFirstHeader { let recommendations = self.database.getRecommendedFiles(account: self.session.account) - var sectionText = NSLocalizedString("_home_", comment: "") + var sectionText = NSLocalizedString("_all_files_", comment: "") + + if NCKeychain().getPersonalFilesOnly(account: session.account) { + sectionText = NSLocalizedString("_personal_files_", comment: "") + } if !self.dataSource.getSectionValueLocalization(indexPath: indexPath).isEmpty { sectionText = self.dataSource.getSectionValueLocalization(indexPath: indexPath) diff --git a/iOSClient/Supporting Files/en.lproj/Localizable.strings b/iOSClient/Supporting Files/en.lproj/Localizable.strings index c8bcfe328e..fb99dc273b 100644 --- a/iOSClient/Supporting Files/en.lproj/Localizable.strings +++ b/iOSClient/Supporting Files/en.lproj/Localizable.strings @@ -767,6 +767,9 @@ "_file_creation_" = "File creation"; "_delete_all_scanned_images_" = "Delete all scanned images"; "_text_recognition_" = "Text recognition"; +"_all_files_" = "All files"; +"_personal_files_" = "Personal Files"; + /* The title on the navigation bar of the Scanning screen. */ "wescan.scanning.title" = "Scanning";