     // MARK: Swizzling input accessory view
 
     func configureInputAccessoryViews() {
-        _ = setInputAccessoryViews
+        inputAccessoryViewType = .default
     }
 
     private var previousInputAccessoryViewType: InputAccessoryViewType?
     private var inputAccessoryViewType: InputAccessoryViewType? = .default {
         didSet {
             previousInputAccessoryViewType = oldValue
-        }
-    }
-
-    private struct InputAccessoryViewKey {
-        static var Default = "wmf_AssociatedDefaultEditToolbarView"
-        static var Highlight = "wmf_AssociatedHighlightEditToolbarView"
+            inputAccessoryView = preferredInputAccessoryView()
+        }
     }
 
     private enum InputAccessoryViewType {


        switch inputAccessoryViewType {
        case .default:
            maybeView = objc_getAssociatedObject(webView, &InputAccessoryViewKey.Default)
        case .highlight:
            maybeView = objc_getAssociatedObject(webView, &InputAccessoryViewKey.Highlight)
        }

        guard let preferredInputAccessoryView = maybeView as? UIView & Themeable else {
            assertionFailure("Couldn't get object associated with \(webView)")
            return nil
        }

        return preferredInputAccessoryView
    }

    private func themeableView(associatedWith object: Any, key: inout String) -> (UIView & Themeable)? {
        guard let view = objc_getAssociatedObject(object, key) as? (UIView & Themeable) else {
            return nil
        }
        return view
    }

    // MARK: - Showing input view

        case highlight
    }

    private func preferredInputAccessoryView() -> (UIView & Themeable)? {
        guard let inputAccessoryViewType = inputAccessoryViewType else {
            return nil
        }

