mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-11-16 16:12:32 +01:00
Merge branch 'TheRedCrystal-master-patch-65248' into 'master'
Fix typo for cache size See merge request mangadex-pub/mangadex_at_home!83
This commit is contained in:
commit
74083bd68e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user