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 14, 2024
1 parent c4b116a commit ac1a00c
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 ac1a00c

Please sign in to comment.