Skip to content

Commit

Permalink
fix(#259): add missing metadata change
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Apr 5, 2024
1 parent d36a2f9 commit 4d8d1ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/lib/common/models/metadata.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4d8d1ff

Please sign in to comment.