Skip to content

Commit 302682d

Browse files
committed
Remove private modifier from HTML toggle method
1 parent 4cb5a8c commit 302682d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/toolbar/AztecToolbar.kt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)