Add braces

This commit is contained in:
MohitMali 2022-11-14 17:28:37 +05:30
parent 38b2770a06
commit 1a6a2b6e75
1 changed files with 2 additions and 2 deletions

View File

@ -408,9 +408,9 @@ class MainActivity : SimpleActivity(), CanvasListener {
}
private fun updateButtonStates() {
if (config.showBrushSize)
if (config.showBrushSize) {
hideBrushSettings(isEyeDropperOn || isBucketFillOn)
}
updateButtonColor(eraser, isEraserOn)
updateButtonColor(eye_dropper, isEyeDropperOn)
updateButtonColor(bucket_fill, isBucketFillOn)