Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Some documentation

  • Loading branch information
Tim Palade authored and mahmoud-adam85 committed May 11, 2018
1 parent 74d903d commit 42da660cfb5122d971b1b5526ce72a7964d8f5f0
Showing with 2 additions and 0 deletions.
  1. +2 −0 Cliqz/HomePanel/CliqzHomePanelViewController.swift
@@ -174,6 +174,8 @@ extension CliqzHomePanelViewController: HomePanelDelegate {
}

func homePanel(_ homePanel: HomePanel, didSelectURL url: URL, visitType: VisitType) {
// HomePanelViewController does not override init. So initializing it is light.
// Also, it is not used in the delegate, so passing the "right" value is not important
delegate?.homePanelViewController(HomePanelViewController(), didSelectURL: url, visitType: visitType)
dismiss(animated: true, completion: nil)
}

0 comments on commit 42da660

Please sign in to comment.