From 32bd4c9d078d9c833aa4c3e8e7c870324db1da8c Mon Sep 17 00:00:00 2001 From: panxi Date: Fri, 19 Apr 2019 15:22:54 -0400 Subject: [PATCH] bugfix for caretbutton --- MVMCoreUI/Atoms/Buttons/CaretButton.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MVMCoreUI/Atoms/Buttons/CaretButton.swift b/MVMCoreUI/Atoms/Buttons/CaretButton.swift index 0849ed26..27076a6a 100644 --- a/MVMCoreUI/Atoms/Buttons/CaretButton.swift +++ b/MVMCoreUI/Atoms/Buttons/CaretButton.swift @@ -63,7 +63,8 @@ open class CaretButton: MFCustomButton { private func changeCaretColor() { if let rightCaretView = rightView as? CaretView { - rightCaretView.tintColor = isEnabled ? enabledColor : disabledColor + let lineColor = isEnabled ? enabledColor : disabledColor + rightCaretView.setLineColor(lineColor) } }