fix to bool typo

This commit is contained in:
Pfeil, Scott Robert 2019-08-01 11:45:10 -04:00
parent 81de381e4c
commit 4d905bb17d

View File

@ -98,7 +98,7 @@ import UIKit
}
// Add the caret if there is an action and it's not declared hidden.
if let _ = json?.optionalDictionaryForKey("actionMap"), json!.boolForKey("hideArrow") {
if let _ = json?.optionalDictionaryForKey("actionMap"), !json!.boolForKey("hideArrow") {
addCaretViewAccessory()
} else {
accessoryView = nil