Skip to content

Commit 7cc4763

Browse files
committed
oops
1 parent 54d41ee commit 7cc4763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Objects/NoteData.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class Jorts.NoteData : Object {
4848
*/
4949
public NoteData.from_json (Json.Object node) {
5050
title = node.get_string_member_with_default ("title", (_("Forgot title!")));
51-
theme = node.get_int_member_with_default ("color", Jorts.Utils.random_theme);
51+
theme = node.get_int_member_with_default ("color", Jorts.Utils.random_theme ());
5252
content = node.get_string_member_with_default ("content","");
5353
monospace = node.get_boolean_member_with_default ("monospace", Jorts.Constants.DEFAULT_MONO);
5454
zoom = (uint16)node.get_int_member_with_default ("zoom", Jorts.Constants.DEFAULT_ZOOM);

0 commit comments

Comments
 (0)