From 51dfd8edbad26860a4abe029dce8d729ad196a85 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Fri, 18 Nov 2022 17:07:15 -0500 Subject: [PATCH] More dep updates --- app/build.gradle | 6 +++--- app/src/main/java/io/heckel/ntfy/ui/ShareActivity.kt | 2 +- fastlane/metadata/android/en-US/changelog/29.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 5e84cfd..3a68722 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,12 +8,12 @@ apply plugin: 'kotlin-kapt' apply plugin: 'com.google.gms.google-services' android { - compileSdkVersion 32 + compileSdkVersion 33 defaultConfig { applicationId "io.heckel.ntfy" minSdkVersion 21 - targetSdkVersion 32 + targetSdkVersion 33 versionCode 29 versionName "1.15.0" @@ -65,7 +65,7 @@ android { dependencies { // AndroidX, The Basics implementation "androidx.appcompat:appcompat:1.4.2" - implementation "androidx.core:core-ktx:1.8.0" + implementation "androidx.core:core-ktx:1.9.0" implementation "androidx.constraintlayout:constraintlayout:2.1.4" implementation "androidx.activity:activity-ktx:1.4.0" implementation "androidx.fragment:fragment-ktx:1.4.1" diff --git a/app/src/main/java/io/heckel/ntfy/ui/ShareActivity.kt b/app/src/main/java/io/heckel/ntfy/ui/ShareActivity.kt index 5f31281..1db1c33 100644 --- a/app/src/main/java/io/heckel/ntfy/ui/ShareActivity.kt +++ b/app/src/main/java/io/heckel/ntfy/ui/ShareActivity.kt @@ -326,7 +326,7 @@ class ShareActivity : AppCompatActivity() { contentText.text.isNotEmpty() && topicText.text.isNotEmpty() } sendItem.isEnabled = enabled - sendItem.icon.alpha = if (enabled) 255 else 130 + sendItem.icon?.alpha = if (enabled) 255 else 130 } private fun getBaseUrl(): String { diff --git a/fastlane/metadata/android/en-US/changelog/29.txt b/fastlane/metadata/android/en-US/changelog/29.txt index b36dccf..fb09137 100644 --- a/fastlane/metadata/android/en-US/changelog/29.txt +++ b/fastlane/metadata/android/en-US/changelog/29.txt @@ -1,5 +1,5 @@ Bug fixes + maintenance: -* Upgrade Android dependencies to SDK 32 +* Upgrade Android dependencies to SDK 33 * Remove timestamp when copying message text (#471, thanks to @wunter8) Additional translations: