Update dependencies

This commit is contained in:
Ricki Hirner 2024-04-09 15:38:41 +02:00
parent a4ce1f93f0
commit 2c5292a52b
3 changed files with 6 additions and 6 deletions

View File

@ -656,7 +656,7 @@ class DavDocumentsProvider: DocumentsProvider() {
if (!getETag.weak)
resource.eTag = resource.eTag
}
resource.lastModified = response[GetLastModified::class.java]?.lastModified?.toInstant()?.toEpochMilli()
resource.lastModified = response[GetLastModified::class.java]?.lastModified?.toEpochMilli()
resource.size = response[GetContentLength::class.java]?.contentLength
val privs = response[CurrentUserPrivilegeSet::class.java]

View File

@ -38,7 +38,7 @@ data class HeadResponse(
eTag = getETag.eTag
}
response.header("Last-Modified", null)?.let {
lastModified = HttpUtils.parseDate(it)?.toInstant()
lastModified = HttpUtils.parseDate(it)
}
response.headers["Content-Length"]?.let {
size = it.toLong()

View File

@ -26,17 +26,17 @@ androidx-test-junit = "1.1.5"
androidx-viewmodel = "2.7.0"
androidx-work = "2.9.0"
appIntro = "7.0.0-beta02"
bitfire-cert4android = "f0964cb"
bitfire-dav4jvm = "f428759"
bitfire-cert4android = "f1cc9b9ca3"
bitfire-dav4jvm = "92f5f3d23c"
bitfire-ical4android = "f10bd57dac"
bitfire-vcard4android = "03ef99a"
bitfire-vcard4android = "adf00bd98a"
commons-collections = "4.4"
commons-lang = "3.14.0"
# don't update until API level 26 (Android 8) is the minimum API [https://github.com/bitfireAT/davx5/issues/130]
commons-io = "2.8.0"
commons-text = "1.11.0"
compose-accompanist = "0.34.0"
compose-bom = "2024.03.00"
compose-bom = "2024.04.00"
# Keep this in sync with Kotlin version:
# https://developer.android.com/jetpack/androidx/releases/compose-kotlin
compose-compiler = "1.5.11"