mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 20:03:05 +02:00
add javadoc note to libanki save method
This commit is contained in:
parent
44eabb0493
commit
b36dc2560d
@ -174,7 +174,11 @@ public class Models {
|
||||
save(m, false);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Save a model
|
||||
* @param m model to save
|
||||
* @param templates flag which (when true) re-generates the cards for each note which uses the model
|
||||
*/
|
||||
public void save(JSONObject m, boolean templates) {
|
||||
if (m != null && m.has("id")) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user