fix(availability-scope): compare between two different things

This commit is contained in:
Kiril Tijsma 2024-10-03 10:41:38 +02:00
parent fac7e6a6b8
commit b86dd04245

View file

@ -29,7 +29,7 @@ class AvailabilityScope extends InheritedWidget {
@override @override
bool updateShouldNotify(AvailabilityScope oldWidget) => bool updateShouldNotify(AvailabilityScope oldWidget) =>
oldWidget.userId != userId || options != options; oldWidget.userId != userId || oldWidget.options != options;
/// ///
static AvailabilityScope of(BuildContext context) => static AvailabilityScope of(BuildContext context) =>