Add braces
This commit is contained in:
parent
38b2770a06
commit
1a6a2b6e75
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue