Skip to content

Commit b62da83

Browse files
authored
Merge pull request #658 from wordpress-mobile/fix/html-button-visibility
making sure to make the toolbar's HTML button visible if there's a so…
2 parents 576043d + 3b730db commit b62da83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ class AztecToolbar : FrameLayout, IAztecToolbar, OnMenuItemClickListener {
376376

377377
if (sourceEditor == null) {
378378
htmlButton.visibility = View.GONE
379+
} else {
380+
htmlButton.visibility = View.VISIBLE
379381
}
380382
}
381383

0 commit comments

Comments
 (0)