marinofaggiana 3 years ago
parent
commit
e599752276
2 changed files with 4 additions and 1 deletions
  1. 2 0
      iOSClient/Select/NCSelect.swift
  2. 2 1
      iOSClient/Share/NCSharePaging.swift

+ 2 - 0
iOSClient/Select/NCSelect.swift

@@ -127,6 +127,8 @@ class NCSelect: UIViewController, UIGestureRecognizerDelegate, UIAdaptivePresent
         refreshControl.backgroundColor = NCBrandColor.shared.systemBackground
         refreshControl.addTarget(self, action: #selector(loadDatasource), for: .valueChanged)
         
+        buttonCancel.title = NSLocalizedString("_cancel_", comment: "")
+        
         // Empty
         emptyDataSet = NCEmptyDataSet.init(view: collectionView, offset: headerHeight, delegate: self)
 

+ 2 - 1
iOSClient/Share/NCSharePaging.swift

@@ -44,7 +44,8 @@ class NCSharePaging: UIViewController {
         super.viewDidLoad()
         
         view.backgroundColor = NCBrandColor.shared.systemBackground
-        navigationItem.leftBarButtonItem = UIBarButtonItem(title: NSLocalizedString("_cancel_", comment: ""), style: .done, target: self, action: #selector(exitTapped))
+        
+        navigationItem.leftBarButtonItem = UIBarButtonItem(title: NSLocalizedString("_close_", comment: ""), style: .done, target: self, action: #selector(exitTapped))
 
         // Verify Comments & Sharing enabled
         let serverVersionMajor = NCManageDatabase.shared.getCapabilitiesServerInt(account: appDelegate.account, elements: NCElementsJSON.shared.capabilitiesVersionMajor)