Skip to content

Commit caf953c

Browse files
committed
Some fixes
1 parent 9dbc8a4 commit caf953c

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

Keyboard/KeyboardLayoutEngine/KeyboardButton.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,15 +243,13 @@ public class KeyboardButton: UIView {
243243
label.textColor = style.textColor
244244
label.font = style.font.fontWithSize(style.font.pointSize * style.popupWidthMultiplier)
245245
label.textAlignment = .Center
246-
label.translatesAutoresizingMaskIntoConstraints = false
247246
contentView.addSubview(label)
248247
case .Text(let text):
249248
let label = UILabel(frame: CGRect(x: 0, y: 0, width: contentView.frame.size.width, height: contentView.frame.size.height))
250249
label.text = text
251250
label.textColor = style.textColor
252251
label.font = style.font.fontWithSize(style.font.pointSize * style.popupWidthMultiplier)
253252
label.textAlignment = .Center
254-
label.translatesAutoresizingMaskIntoConstraints = false
255253
contentView.addSubview(label)
256254
case .Image(let image):
257255
let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: contentView.frame.size.width, height: contentView.frame.size.height))

Keyboard/KeyboardViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import UIKit
1010

1111
class KeyboardViewController: UIInputViewController, DefaultKeyboardDelegate {
1212
var defaultKeyboard: DefaultKeyboard!
13-
var uppercase: KeyboardLayout!
1413

1514
// MARK: - Lifecycle
1615
override func viewDidLoad() {

0 commit comments

Comments
 (0)