Skip to content

Commit

Permalink
Disable font layout items when editor is not focused
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarX committed Jun 19, 2024
1 parent bf110b4 commit de1a86e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ class EditorSampleFragment : Fragment() {
private fun setToolbarEnabledStatus(isEnabled: Boolean) = with(binding) {
toolbarLayout.forEach { view -> view.isEnabled = isEnabled }
colorLayout.forEach { view -> view.isEnabled = isEnabled }
fontLayout.forEach { view -> view.isEnabled = isEnabled }
}

inner class CreateLinkDialog {
Expand Down

0 comments on commit de1a86e

Please sign in to comment.