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

Fixed showing keyboard accessory view when query suggestions is disabled

  • Loading branch information
mahmoud-adam85 authored and Tim Palade committed Apr 18, 2018
1 parent 4774ea7 commit 57ac0ad25ba3436d7c06ae1ab85dc1b15bfb15cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cliqz/URLBar/KeyboardAccessoryView.swift
@@ -86,7 +86,7 @@ class KeyboardAccessoryView: UIView {
}

private func refreshView() {
if (UIDevice.current.isPortrait || UIDevice.current.isiPad()) && !querySuggestionView.getCurrentQuery().isEmpty {
if (UIDevice.current.isPortrait || UIDevice.current.isiPad()) && QuerySuggestions.isEnabled() && !querySuggestionView.getCurrentQuery().isEmpty {
self.isHidden = false
} else {
self.isHidden = true

0 comments on commit 57ac0ad

Please sign in to comment.