Skip to content

Commit cbdf003

Browse files
chore(deps): bump kotlin from 2.2.21 to 2.3.0 (#648)
* chore(deps): bump kotlin from 2.2.21 to 2.3.0 Bumps `kotlin` from 2.2.21 to 2.3.0. Updates `org.jetbrains.kotlin.android` from 2.2.21 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.2.21...v2.3.0) Updates `org.jetbrains.kotlin.plugin.serialization` from 2.2.21 to 2.3.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.2.21...v2.3.0) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin.android dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin.plugin.serialization dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * fix: specify type explicitly --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Naveen Singh <[email protected]>
1 parent 897e2ae commit cbdf003

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

app/src/main/kotlin/org/fossify/messages/helpers/AttachmentPreviews.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package org.fossify.messages.helpers
22

33
import android.app.Activity
44
import android.net.Uri
5+
import android.view.View
56
import org.fossify.commons.extensions.*
67
import org.fossify.commons.helpers.SimpleContactsHelper
78
import org.fossify.commons.helpers.ensureBackgroundThread
@@ -51,7 +52,7 @@ fun ItemAttachmentDocumentBinding.setupDocumentPreview(
5152
fileSize.beVisible()
5253
fileSize.text = size.formatSize()
5354
}
54-
} catch (e: Exception) {
55+
} catch (_: Exception) {
5556
root.post {
5657
fileSize.beGone()
5758
}
@@ -116,7 +117,7 @@ fun ItemAttachmentVcardBinding.setupVCardPreview(
116117
vcardTitle.setTextColor(textColor)
117118
vcardSubtitle.setTextColor(textColor)
118119

119-
arrayOf(vcardPhoto, vcardTitle, vcardSubtitle, viewContactDetails).forEach {
120+
arrayOf<View>(vcardPhoto, vcardTitle, vcardSubtitle, viewContactDetails).forEach {
120121
it.beGone()
121122
}
122123

@@ -135,7 +136,7 @@ fun ItemAttachmentVcardBinding.setupVCardPreview(
135136
null
136137
}
137138

138-
arrayOf(vcardPhoto, vcardTitle).forEach {
139+
arrayOf<View>(vcardPhoto, vcardTitle).forEach {
139140
it.beVisible()
140141
}
141142

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
#jetbrains
3-
kotlin = "2.2.21"
3+
kotlin = "2.3.0"
44
kotlinxSerializationJson = "1.9.0"
55
#KSP
66
ksp = "2.3.4"

0 commit comments

Comments
 (0)