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](https://github.com/JetBrains/kotlin/compare/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](https://github.com/JetBrains/kotlin/compare/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] <support@github.com>

* fix: specify type explicitly

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
This commit is contained in:
dependabot[bot] 2026-01-01 19:13:09 +05:30 committed by GitHub
parent 897e2ae79d
commit cbdf003462
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -2,6 +2,7 @@ package org.fossify.messages.helpers
import android.app.Activity
import android.net.Uri
import android.view.View
import org.fossify.commons.extensions.*
import org.fossify.commons.helpers.SimpleContactsHelper
import org.fossify.commons.helpers.ensureBackgroundThread
@ -51,7 +52,7 @@ fun ItemAttachmentDocumentBinding.setupDocumentPreview(
fileSize.beVisible()
fileSize.text = size.formatSize()
}
} catch (e: Exception) {
} catch (_: Exception) {
root.post {
fileSize.beGone()
}
@ -116,7 +117,7 @@ fun ItemAttachmentVcardBinding.setupVCardPreview(
vcardTitle.setTextColor(textColor)
vcardSubtitle.setTextColor(textColor)
arrayOf(vcardPhoto, vcardTitle, vcardSubtitle, viewContactDetails).forEach {
arrayOf<View>(vcardPhoto, vcardTitle, vcardSubtitle, viewContactDetails).forEach {
it.beGone()
}
@ -135,7 +136,7 @@ fun ItemAttachmentVcardBinding.setupVCardPreview(
null
}
arrayOf(vcardPhoto, vcardTitle).forEach {
arrayOf<View>(vcardPhoto, vcardTitle).forEach {
it.beVisible()
}