diff --git a/app/build.gradle b/app/build.gradle index 6eeb3923..e526ed27 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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' } diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt index 0bcdc557..3b3bfc5f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt @@ -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 } } diff --git a/build.gradle b/build.gradle index 7a259526..1bdec2af 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.6.21' + ext.kotlin_version = '1.7.10' repositories { google() @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.1.3' + classpath 'com.android.tools.build:gradle:7.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong diff --git a/fastlane/metadata/android/bg/short_description.txt b/fastlane/metadata/android/bg/short_description.txt index e7829df4..773a0522 100644 --- a/fastlane/metadata/android/bg/short_description.txt +++ b/fastlane/metadata/android/bg/short_description.txt @@ -1 +1 @@ -Уиджет за списък със задачи с организатор на тетрадки, контролен списък, прост списък за пазаруване +Уиджет за списък със задачи с организатор на тетрадки, контролен списък diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index c5163df7..22417de6 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip