mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
Simplify list
This commit is contained in:
parent
2d89dda2dd
commit
bb36b9361a
@ -290,12 +290,7 @@ private fun timeOptions(state: State) =
|
||||
|
||||
private val DEBUG_TIME = 1.minutes
|
||||
|
||||
val defaultTimes = buildList {
|
||||
add(12.hours)
|
||||
add(1.days)
|
||||
add(7.days)
|
||||
add(14.days)
|
||||
}
|
||||
val defaultTimes = listOf(12.hours, 1.days, 7.days, 14.days)
|
||||
|
||||
val afterSendTimes = buildList {
|
||||
if (BuildConfig.DEBUG) add(DEBUG_TIME)
|
||||
|
Loading…
Reference in New Issue
Block a user