Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 82394c8

Browse files
authored
Merge pull request #34 from wordpress-mobile/jklausa-patch-1
Update SearchTableViewCell.swift
2 parents 2b783a0 + 952388c commit 82394c8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

WordPressAuthenticator.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressAuthenticator"
3-
s.version = "1.1.5"
3+
s.version = "1.1.6"
44
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
55

66
s.description = <<-DESC

WordPressAuthenticator/UI/SearchTableViewCell.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ open class SearchTableViewCell: UITableViewCell {
1919

2020
/// Search 'UITextField's reference!
2121
///
22-
@IBOutlet private var textField: LoginTextField!
22+
@IBOutlet public var textField: LoginTextField!
2323

2424
/// UITextField's listener
2525
///
@@ -44,6 +44,7 @@ open class SearchTableViewCell: UITableViewCell {
4444
override open func awakeFromNib() {
4545
super.awakeFromNib()
4646
textField.delegate = self
47+
textField.returnKeyType = .search
4748
textField.contentInsets = Constants.textInsetsWithIcon
4849
textField.accessibilityIdentifier = "Search field"
4950
textField.leftViewImage = textField?.leftViewImage?.imageWithTintColor(Constants.leftImageTintColor)

0 commit comments

Comments
 (0)