|
@@ -361,8 +361,6 @@ class NCMore: UIViewController, UITableViewDelegate, UITableViewDataSource {
|
|
|
} else if section.type == .moreApps {
|
|
|
guard let cell = tableView.dequeueReusableCell(withIdentifier: NCMoreAppSuggestionsCell.reuseIdentifier, for: indexPath) as? NCMoreAppSuggestionsCell else { return UITableViewCell() }
|
|
|
|
|
|
- cell.delegate = self
|
|
|
-
|
|
|
return cell
|
|
|
} else {
|
|
|
guard let cell = tableView.dequeueReusableCell(withIdentifier: CCCellMore.reuseIdentifier, for: indexPath) as? CCCellMore else { return UITableViewCell() }
|
|
@@ -449,12 +447,3 @@ class NCMore: UIViewController, UITableViewDelegate, UITableViewDataSource {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-extension NCMore: NCMoreAppSuggestionsCellDelegate {
|
|
|
- func moreAppsTapped() {
|
|
|
- guard let url = URL(string: NCGlobal.shared.moreAppsUrl) else { return }
|
|
|
- let safariViewController = SFSafariViewController(url: url)
|
|
|
-
|
|
|
- present(safariViewController, animated: true, completion: nil)
|
|
|
- }
|
|
|
-}
|