feat: add equality operators, make history screen paginated, random performance updates
This commit is contained in:
@@ -17,4 +17,14 @@ class AppSettings {
|
||||
pinRequired: false,
|
||||
themeMode: AppThemeMode.system,
|
||||
);
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is AppSettings &&
|
||||
pinRequired == other.pinRequired &&
|
||||
themeMode == other.themeMode;
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(pinRequired, themeMode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user