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:
parent
897e2ae79d
commit
cbdf003462
2 changed files with 5 additions and 4 deletions
|
|
@ -2,6 +2,7 @@ package org.fossify.messages.helpers
|
||||||
|
|
||||||
import android.app.Activity
|
import android.app.Activity
|
||||||
import android.net.Uri
|
import android.net.Uri
|
||||||
|
import android.view.View
|
||||||
import org.fossify.commons.extensions.*
|
import org.fossify.commons.extensions.*
|
||||||
import org.fossify.commons.helpers.SimpleContactsHelper
|
import org.fossify.commons.helpers.SimpleContactsHelper
|
||||||
import org.fossify.commons.helpers.ensureBackgroundThread
|
import org.fossify.commons.helpers.ensureBackgroundThread
|
||||||
|
|
@ -51,7 +52,7 @@ fun ItemAttachmentDocumentBinding.setupDocumentPreview(
|
||||||
fileSize.beVisible()
|
fileSize.beVisible()
|
||||||
fileSize.text = size.formatSize()
|
fileSize.text = size.formatSize()
|
||||||
}
|
}
|
||||||
} catch (e: Exception) {
|
} catch (_: Exception) {
|
||||||
root.post {
|
root.post {
|
||||||
fileSize.beGone()
|
fileSize.beGone()
|
||||||
}
|
}
|
||||||
|
|
@ -116,7 +117,7 @@ fun ItemAttachmentVcardBinding.setupVCardPreview(
|
||||||
vcardTitle.setTextColor(textColor)
|
vcardTitle.setTextColor(textColor)
|
||||||
vcardSubtitle.setTextColor(textColor)
|
vcardSubtitle.setTextColor(textColor)
|
||||||
|
|
||||||
arrayOf(vcardPhoto, vcardTitle, vcardSubtitle, viewContactDetails).forEach {
|
arrayOf<View>(vcardPhoto, vcardTitle, vcardSubtitle, viewContactDetails).forEach {
|
||||||
it.beGone()
|
it.beGone()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -135,7 +136,7 @@ fun ItemAttachmentVcardBinding.setupVCardPreview(
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
arrayOf(vcardPhoto, vcardTitle).forEach {
|
arrayOf<View>(vcardPhoto, vcardTitle).forEach {
|
||||||
it.beVisible()
|
it.beVisible()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[versions]
|
[versions]
|
||||||
#jetbrains
|
#jetbrains
|
||||||
kotlin = "2.2.21"
|
kotlin = "2.3.0"
|
||||||
kotlinxSerializationJson = "1.9.0"
|
kotlinxSerializationJson = "1.9.0"
|
||||||
#KSP
|
#KSP
|
||||||
ksp = "2.3.4"
|
ksp = "2.3.4"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue