Improve title of digit button

This commit is contained in:
ismailgulek
2021-02-10 16:38:36 +03:00
parent 00b9ec8f42
commit 56b9d3aa8b
@@ -274,7 +274,7 @@ class DialpadViewController: UIViewController {
}
@IBAction private func digitButtonAction(_ sender: DialpadButton) {
let digit = sender.title(for: .normal) ?? ""
let digit = Constants.digitButtonViewDatas[sender.tag]?.title ?? ""
defer {
delegate?.dialpadViewControllerDidTapDigit?(self, digit: digit)