[Mobile] Fix card image not loading

This commit is contained in:
Anthony Calosa
2021-09-13 23:01:13 +08:00
parent 176f86aa62
commit ac350a0bfb
2 changed files with 8 additions and 9 deletions

View File

@@ -66,6 +66,9 @@ public final class ImageKeys {
}
private static final Map<String, File> cachedCards = new HashMap<>(50000);
public static File getCachedCardsFile(String key) {
return cachedCards.get(key);
}
public static File getImageFile(String key) {
if (StringUtils.isEmpty(key))
return null;