diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-01-03 23:46:54 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-01-03 23:46:54 +0100 |
commit | be801ff55d765e519f58a34d9854fb464a1ff77e (patch) | |
tree | 48c7972577c6b73cb5ca0d1947c5a8b198b98614 /src/api/LocalApi.js | |
parent | Fix lint issues (diff) | |
download | ferdium-app-be801ff55d765e519f58a34d9854fb464a1ff77e.tar.gz ferdium-app-be801ff55d765e519f58a34d9854fb464a1ff77e.tar.zst ferdium-app-be801ff55d765e519f58a34d9854fb464a1ff77e.zip |
feat(App): Add option to clear app cache (@dannyqiu)
Diffstat (limited to 'src/api/LocalApi.js')
-rw-r--r-- | src/api/LocalApi.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/LocalApi.js b/src/api/LocalApi.js index d52e9cd10..3f84f8a0b 100644 --- a/src/api/LocalApi.js +++ b/src/api/LocalApi.js | |||
@@ -16,6 +16,10 @@ export default class LocalApi { | |||
16 | return this.local.removeKey(key); | 16 | return this.local.removeKey(key); |
17 | } | 17 | } |
18 | 18 | ||
19 | getAppCacheSize() { | ||
20 | return this.local.getAppCacheSize(); | ||
21 | } | ||
22 | |||
19 | clearAppCache() { | 23 | clearAppCache() { |
20 | return this.local.clearAppCache(); | 24 | return this.local.clearAppCache(); |
21 | } | 25 | } |