Skip to content

Commit

Permalink
Merge pull request #20200 from wordpress-mobile/task/notes-to-kotlin
Browse files Browse the repository at this point in the history
Refactors `Notes` to Kotlin
  • Loading branch information
Antonis Lilis authored Feb 20, 2024
2 parents 688940e + 14c493d commit 391ef87
Show file tree
Hide file tree
Showing 4 changed files with 444 additions and 667 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static ArrayList<Note> getLatestNotes(int limit) {
}

private static boolean putNote(Note note, boolean checkBeforeInsert) {
String rawNote = prepareNote(note.getId(), note.getJSON().toString());
String rawNote = prepareNote(note.getId(), note.getJson().toString());

ContentValues values = new ContentValues();
values.put("type", note.getRawType());
Expand Down
Loading

0 comments on commit 391ef87

Please sign in to comment.