If card name is given (not path), save it as JSON file.

This commit is contained in:
kenkeiras 2018-01-22 23:14:51 +01:00
parent abd9096c25
commit 1508b143c5

View File

@ -142,7 +142,7 @@ public class CardFile {
} }
public void save(Context context) throws IOException { public void save(Context context) throws IOException {
String cardPath = getDefaultCardStorage(context) + PATH_SEPARATOR + name; String cardPath = getDefaultCardStorage(context) + PATH_SEPARATOR + name + ".json";
save(cardPath); save(cardPath);
} }