File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
aztec/src/main/kotlin/org/wordpress/aztec/toolbar Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ class AztecToolbar : FrameLayout, OnMenuItemClickListener {
312312 return null
313313 }
314314
315- private fun toggleHtmlMode (isHtmlMode : Boolean ) {
315+ fun toggleHtmlMode (isHtmlMode : Boolean ) {
316316 ToolbarAction .values().forEach { action ->
317317 if (action == ToolbarAction .HTML ) {
318318 toggleButton(findViewById(action.buttonId), isHtmlMode)
@@ -322,12 +322,6 @@ class AztecToolbar : FrameLayout, OnMenuItemClickListener {
322322 }
323323 }
324324
325- fun toggleFormatButtons (isEnabled : Boolean ) {
326- ToolbarAction .values().forEach { action ->
327- toggleButtonState(findViewById(action.buttonId), isEnabled)
328- }
329- }
330-
331325 private fun showMediaUploadDialog () {
332326 if (! isEditorAttached()) return
333327
You can’t perform that action at this time.
0 commit comments