Skip to content

Commit 7bf8a2e

Browse files
committed
fix bookmarking
1 parent 15fcee0 commit 7bf8a2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/hive/post_preview.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ class PostPreviewAdapter extends TypeAdapter<PostPreview> {
1111
PostPreview read(BinaryReader reader) {
1212
final id = reader.read();
1313
final title = reader.read();
14-
final hubs = reader.readList().cast<String>();
14+
final flows = reader.readList().cast<String>();
1515
final corporative = reader.read();
1616
final publishDate = reader.read();
1717
final author = reader.read();
1818
return PostPreview(
1919
id: id,
2020
title: title,
21-
hubs: hubs,
21+
flows: flows,
2222
corporative: corporative,
2323
publishDate: publishDate,
2424
author: author,
@@ -30,7 +30,7 @@ class PostPreviewAdapter extends TypeAdapter<PostPreview> {
3030
void write(BinaryWriter writer, PostPreview obj) {
3131
writer.write(obj.id);
3232
writer.write(obj.title);
33-
writer.writeList(obj.hubs);
33+
writer.writeList(obj.flows);
3434
writer.write(obj.corporative);
3535
writer.write(obj.publishDate);
3636
writer.write(obj.author);

0 commit comments

Comments
 (0)