Skip to content

Commit

Permalink
Lint fix: prefer_is_empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovdm committed Oct 15, 2018
1 parent af40b72 commit 2ffc2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/window.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class Locale {
&& language.length != 4)),
assert(script == null || script.length == 4),
assert(region == null || (region.length >= 2 && region.length <= 3)),
assert(variants == null || variants.length == 0 || variants[0].length >= 4),
assert(variants == null || variants.isEmpty || variants[0].length >= 4),
_languageCode = language,
scriptCode = script,
_countryCode = region,
Expand Down

0 comments on commit 2ffc2a1

Please sign in to comment.