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

This commit is contained in:
Kiril Tijsma 2024-10-03 10:41:38 +02:00 committed by Freek van de Ven
parent fac7e6a6b8
commit bd8bc994f8

View file

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