Merge branch 'fix-declare-constant-as-field' into 'master'
Declare "MAX_AGE_CACHE" non-primitive constant as field See merge request mangadex-pub/mangadex_at_home!63
This commit is contained in:
commit
4b1db7c705
|
@ -22,7 +22,8 @@ import java.time.Duration
|
|||
|
||||
object Constants {
|
||||
const val CLIENT_BUILD = 16
|
||||
val MAX_AGE_CACHE: Duration = Duration.ofDays(14)
|
||||
|
||||
@JvmField val MAX_AGE_CACHE: Duration = Duration.ofDays(14)
|
||||
|
||||
const val MAX_READ_TIME_SECONDS = 300
|
||||
const val MAX_WRITE_TIME_SECONDS = 60
|
||||
|
|
Loading…
Reference in a new issue