mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-09-18 01:40:34 -04:00
Update MainActivity.kt
This commit is contained in:
1 parent
ed1603afad
commit
e1ac84533d
1 file changed
+1
@@ -142,6 +142,7 @@ class MainActivity : SimpleActivity() {
|
||||
isEnabled = showUndoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value
|
||||
icon.alpha = if (isEnabled) 255 else 127
|
||||
}
|
||||
|
||||
findItem(R.id.redo).apply {
|
||||
isVisible = areButtonsVisible
|
||||
isEnabled = showRedoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value
|
||||
|
||||
Reference in new issue
Block a user