limit cache size

This commit is contained in:
nyne
2024-10-28 16:43:19 +08:00
parent 26ddfd6134
commit 66f96a580c
4 changed files with 33 additions and 5 deletions

View File

@@ -108,6 +108,7 @@ class _Settings {
'enableTapToTurnPages': true,
'enablePageAnimation': true,
'language': 'system', // system, zh-CN, zh-TW, en-US
'cacheSize': 2048, // in MB
};
operator [](String key) {