Fix typo for cache size

This commit is contained in:
Space 2021-03-13 20:35:04 +00:00
parent 4fed127e80
commit ae49f0098a
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ class MangaDexClient(private val settingsFile: File, databaseFolder: Path, cache
private fun validateSettings(settings: ClientSettings) {
if (settings.maxCacheSizeInMebibytes < 40960) {
throw ClientSettingsException("Config Error: Invalid max cache size, must be >= 20480 MiB (20 GiB)")
throw ClientSettingsException("Config Error: Invalid max cache size, must be >= 40960 MiB (40 GiB)")
}
fun isSecretValid(clientSecret: String): Boolean {