From 118b0d5a7ff8c9ad6784818975ee0b8998494249 Mon Sep 17 00:00:00 2001 From: Toni Sevener Date: Wed, 10 Jan 2024 14:33:40 -0600 Subject: [PATCH] Bug fixes after merging --- .../Common Views/Base/WKEditorToolbarButton.swift | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Components/Sources/Components/Components/Editors/Common Views/Base/WKEditorToolbarButton.swift b/Components/Sources/Components/Components/Editors/Common Views/Base/WKEditorToolbarButton.swift index b9a9338814f..cf60cdc87e2 100644 --- a/Components/Sources/Components/Components/Editors/Common Views/Base/WKEditorToolbarButton.swift +++ b/Components/Sources/Components/Components/Editors/Common Views/Base/WKEditorToolbarButton.swift @@ -79,17 +79,6 @@ class WKEditorToolbarButton: WKComponentView { } } - var isEnabled: Bool { - get { - return button.isEnabled - } - set { - button.isEnabled = newValue - updateColors() - accessibilityTraits = newValue ? [.button, .selected] : [.button, .notEnabled] - } - } - func setImage(_ image: UIImage?, for state: UIControl.State) { button.setImage(image, for: state) }