Merge pull request #1729 from jason-simmons/mixed_viewport_lock
Fix a type mismatch in IconThemeData.operator==
This commit is contained in:
commit
35bd448bdd
@ -12,7 +12,7 @@ class IconThemeData {
|
|||||||
if (other is! IconThemeData)
|
if (other is! IconThemeData)
|
||||||
return false;
|
return false;
|
||||||
final IconThemeData typedOther = other;
|
final IconThemeData typedOther = other;
|
||||||
return color == typedOther;
|
return color == typedOther.color;
|
||||||
}
|
}
|
||||||
|
|
||||||
int get hashCode => color.hashCode;
|
int get hashCode => color.hashCode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user