mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	updating kotlin, commons, gradle
This commit is contained in:
		@@ -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'
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user