From cbad0aa0b6e6890f294a87bcd389f1e89097c4e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 17:22:45 +0000 Subject: [PATCH 1/2] 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] --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 6d1c4a7ee..cb244c8ab 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] #jetbrains -kotlin = "2.2.21" +kotlin = "2.3.0" kotlinxSerializationJson = "1.9.0" #KSP ksp = "2.3.3" From 976a2bef578478852dc360a0edb2c27b7d81830c Mon Sep 17 00:00:00 2001 From: Naveen Singh Date: Thu, 1 Jan 2026 19:05:56 +0530 Subject: [PATCH 2/2] fix: specify type explicitly --- .../org/fossify/messages/helpers/AttachmentPreviews.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/org/fossify/messages/helpers/AttachmentPreviews.kt b/app/src/main/kotlin/org/fossify/messages/helpers/AttachmentPreviews.kt index a2267fee3..41d680f72 100644 --- a/app/src/main/kotlin/org/fossify/messages/helpers/AttachmentPreviews.kt +++ b/app/src/main/kotlin/org/fossify/messages/helpers/AttachmentPreviews.kt @@ -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(vcardPhoto, vcardTitle, vcardSubtitle, viewContactDetails).forEach { it.beGone() } @@ -135,7 +136,7 @@ fun ItemAttachmentVcardBinding.setupVCardPreview( null } - arrayOf(vcardPhoto, vcardTitle).forEach { + arrayOf(vcardPhoto, vcardTitle).forEach { it.beVisible() }