Implement husband-wife connection dialogue and theme support for learn articles
This commit is contained in:
@@ -47,13 +47,15 @@ class CycleEntryAdapter extends TypeAdapter<CycleEntry> {
|
||||
createdAt: fields[20] as DateTime,
|
||||
updatedAt: fields[21] as DateTime,
|
||||
husbandNotes: fields[28] as String?,
|
||||
usedPantyliner: fields[30] == null ? false : fields[30] as bool,
|
||||
pantylinerCount: fields[31] == null ? 0 : fields[31] as int,
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
void write(BinaryWriter writer, CycleEntry obj) {
|
||||
writer
|
||||
..writeByte(30)
|
||||
..writeByte(32)
|
||||
..writeByte(0)
|
||||
..write(obj.id)
|
||||
..writeByte(1)
|
||||
@@ -113,7 +115,11 @@ class CycleEntryAdapter extends TypeAdapter<CycleEntry> {
|
||||
..writeByte(28)
|
||||
..write(obj.husbandNotes)
|
||||
..writeByte(29)
|
||||
..write(obj.intimacyProtected);
|
||||
..write(obj.intimacyProtected)
|
||||
..writeByte(30)
|
||||
..write(obj.usedPantyliner)
|
||||
..writeByte(31)
|
||||
..write(obj.pantylinerCount);
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user