使わない列挙型の削除

This commit is contained in:
tateisu 2024-01-07 07:56:16 +09:00
parent e703d7460b
commit 2cbbbcce43
2 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,11 @@ package jp.juggler.subwaytooter.actpost
import android.os.Bundle
import jp.juggler.subwaytooter.ActPost
import jp.juggler.subwaytooter.api.TootParser
import jp.juggler.subwaytooter.api.entity.*
import jp.juggler.subwaytooter.api.entity.EntityId
import jp.juggler.subwaytooter.api.entity.EntityIdSerializer
import jp.juggler.subwaytooter.api.entity.TootScheduled
import jp.juggler.subwaytooter.api.entity.TootVisibility
import jp.juggler.subwaytooter.api.entity.parseItem
import jp.juggler.subwaytooter.kJson
import jp.juggler.subwaytooter.util.AttachmentPicker
import jp.juggler.subwaytooter.util.PostAttachment
@ -11,7 +15,6 @@ import jp.juggler.util.data.decodeJsonObject
import jp.juggler.util.data.toJsonArray
import jp.juggler.util.log.LogCategory
import kotlinx.serialization.Serializable
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
private val log = LogCategory("ActPostStates")

View File

@ -27,8 +27,8 @@ class AttachmentPicker(
suspend fun onPickCustomThumbnail(attachmentId: String?, src: UriAndType?)
}
// actions after permission granted
enum class AfterPermission { Attachment, CustomThumbnail, }
// // actions after permission granted
// enum class AfterPermission { Attachment, CustomThumbnail, }
@Serializable
data class States(