From 4d8d1fff8978a6a63c127822956723b679578e22 Mon Sep 17 00:00:00 2001 From: Tamara Slosarek Date: Fri, 5 Apr 2024 17:21:44 +0200 Subject: [PATCH] fix(#259): add missing metadata change --- app/lib/common/models/metadata.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/lib/common/models/metadata.dart b/app/lib/common/models/metadata.dart index f28f6646..dab77cba 100644 --- a/app/lib/common/models/metadata.dart +++ b/app/lib/common/models/metadata.dart @@ -6,8 +6,8 @@ part 'metadata.g.dart'; const _boxName = 'metadata'; -/// MetaData is a singleton dataclass which contains various user-specific -/// preferences and datapoints. It is intended to be loaded from a hive box +/// MetaData is a singleton data class which contains various user-specific +/// preferences and data points. It is intended to be loaded from a hive box /// once at app launch, from where it's contents can be modified by accessing /// it's properties. @HiveType(typeId: 4) @@ -40,6 +40,9 @@ class MetaData { @HiveField(3) bool? initialDrugSelectionDone; + + @HiveField(4) + bool? tutorialDone; } /// Initializes the user's metadata by registering all necessary adapters and