mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Add 30 seconds to disappearing debug settings
This commit is contained in:
parent
91807db8a9
commit
128ae81998
@ -65,7 +65,7 @@ private fun State.typeOption(
|
|||||||
enabled = enabled
|
enabled = enabled
|
||||||
)
|
)
|
||||||
|
|
||||||
private fun debugTimes(isDebug: Boolean) = if (isDebug) listOf(10.seconds, 1.minutes) else emptyList()
|
private fun debugTimes(isDebug: Boolean) = if (isDebug) listOf(10.seconds, 30.seconds, 1.minutes) else emptyList()
|
||||||
private fun debugModes(isDebug: Boolean, type: ExpiryType) =
|
private fun debugModes(isDebug: Boolean, type: ExpiryType) =
|
||||||
debugTimes(isDebug).map { type.mode(it.inWholeSeconds) }
|
debugTimes(isDebug).map { type.mode(it.inWholeSeconds) }
|
||||||
private fun State.debugOptions(): List<ExpiryRadioOption> =
|
private fun State.debugOptions(): List<ExpiryRadioOption> =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user