Simplify list

This commit is contained in:
andrew 2023-09-04 14:03:40 +09:30
parent 2d89dda2dd
commit bb36b9361a

View File

@ -290,12 +290,7 @@ private fun timeOptions(state: State) =
private val DEBUG_TIME = 1.minutes private val DEBUG_TIME = 1.minutes
val defaultTimes = buildList { val defaultTimes = listOf(12.hours, 1.days, 7.days, 14.days)
add(12.hours)
add(1.days)
add(7.days)
add(14.days)
}
val afterSendTimes = buildList { val afterSendTimes = buildList {
if (BuildConfig.DEBUG) add(DEBUG_TIME) if (BuildConfig.DEBUG) add(DEBUG_TIME)