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

Fixed setting ReaderMode button and Separator visibility

  • Loading branch information
mahmoud-adam85 authored and Tim Palade committed Mar 28, 2018
1 parent b8145f1 commit db2c585ffc97d93ed4680b0f9cdb2893e29cb969
Showing with 3 additions and 1 deletion.
  1. +3 −1 Cliqz/URLBar/CliqzTabLocationView.swift
@@ -76,9 +76,11 @@ class CliqzTabLocationView: TabLocationView {
return
}
videoDownloadButton.isHidden = !url.isYoutubeURL()
readerModeButton.isHidden = !videoDownloadButton.isHidden
if !videoDownloadButton.isHidden {
separatorLine.isHidden = false
readerModeButton.isHidden = true
} else {
separatorLine.isHidden = readerModeButton.isHidden
}
}

0 comments on commit db2c585

Please sign in to comment.