mirror of
https://github.com/Iconica-Development/flutter_availability.git
synced 2025-05-19 05:03:44 +02:00
fix(availability-scope): compare between two different things
This commit is contained in:
parent
fac7e6a6b8
commit
bd8bc994f8
1 changed files with 1 additions and 1 deletions
|
@ -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) =>
|
||||||
|
|
Loading…
Reference in a new issue