updating kotlin, commons, gradle

This commit is contained in:
tibbi
2022-08-24 22:41:54 +02:00
parent 7e16298a2c
commit b263a9dc98
5 changed files with 12 additions and 12 deletions

View File

@ -158,13 +158,13 @@ class MainActivity : SimpleActivity() {
findItem(R.id.undo).apply {
isVisible = areButtonsVisible
isEnabled = showUndoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value
icon.alpha = if (isEnabled) 255 else 127
icon?.alpha = if (isEnabled) 255 else 127
}
findItem(R.id.redo).apply {
isVisible = areButtonsVisible
isEnabled = showRedoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value
icon.alpha = if (isEnabled) 255 else 127
icon?.alpha = if (isEnabled) 255 else 127
}
}