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

@ -10,12 +10,12 @@ if (keystorePropertiesFile.exists()) {
}
android {
compileSdkVersion 31
compileSdkVersion 33
defaultConfig {
applicationId "com.simplemobiletools.notes.pro"
minSdkVersion 21
targetSdkVersion 31
targetSdkVersion 33
versionCode 97
versionName "6.13.0"
setProperty("archivesBaseName", "notes")
@ -63,11 +63,11 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:7c48da6bef'
implementation 'com.github.SimpleMobileTools:Simple-Commons:1dabb1506e'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.documentfile:documentfile:1.0.1'
kapt 'androidx.room:room-compiler:2.4.2'
implementation 'androidx.room:room-runtime:2.4.2'
annotationProcessor 'androidx.room:room-compiler:2.4.2'
kapt 'androidx.room:room-compiler:2.4.3'
implementation 'androidx.room:room-runtime:2.4.3'
annotationProcessor 'androidx.room:room-compiler:2.4.3'
}

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
}
}