投稿画面の添付メディア並び替えの後にsaveAttachmentList()する
This commit is contained in:
parent
63bd4c6563
commit
01e00f0582
|
@ -279,6 +279,8 @@ tasks.register<Detekt>("detektAll") {
|
|||
val buildFiles = "**/build/**"
|
||||
exclude(resourceFiles, buildFiles)
|
||||
reports {
|
||||
val buildDir = layout.buildDirectory
|
||||
|
||||
xml.required.set(false)
|
||||
xml.outputLocation.set(file("$buildDir/reports/detekt/st-${name}.xml"))
|
||||
|
||||
|
@ -292,4 +294,3 @@ tasks.register<Detekt>("detektAll") {
|
|||
sarif.outputLocation.set(file("$buildDir/reports/detekt/st-${name}.sarif"))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -146,9 +146,9 @@ fun ActPost.addAttachment(
|
|||
return
|
||||
}
|
||||
|
||||
saveAttachmentList()
|
||||
val pa = PostAttachment(this)
|
||||
attachmentList.add(pa)
|
||||
saveAttachmentList()
|
||||
showMediaAttachment()
|
||||
|
||||
attachmentUploader.addRequest(
|
||||
|
@ -470,6 +470,7 @@ fun ActPost.rearrangeAttachments() = lifecycleScope.launch {
|
|||
// attachmentListを更新して表示し直す
|
||||
attachmentList.clear()
|
||||
attachmentList.addAll(newList)
|
||||
saveAttachmentList()
|
||||
showMediaAttachment()
|
||||
showMediaAttachmentProgress()
|
||||
} catch (ex: Throwable) {
|
||||
|
|
|
@ -24,7 +24,7 @@ object Vers {
|
|||
const val koinVersion = "3.5.0"
|
||||
const val kotlinJvmTarget = "1.8"
|
||||
const val kotlinJvmToolchain = 17
|
||||
const val kotlinTestVersion = "1.9.0"
|
||||
const val kotlinTestVersion = "1.9.20"
|
||||
const val kotlinVersion = "1.9.20"
|
||||
const val kotlinxCoroutinesVersion = "1.7.3"
|
||||
const val kspVersion = "1.9.20-1.0.14"
|
||||
|
|
Loading…
Reference in New Issue