mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
[Mobile] Fix card image not loading
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user