Skip to content

Commit

Permalink
Removes linter warnings and fixes CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Ruivo committed Mar 20, 2024
1 parent 9e153b0 commit 7a03e5d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 8.0.0+1
Removes linter warnings and fixes CI/CD.

## 8.0.0
### Desktop
Removes Flutter GO support.
Expand Down
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ linter:
- avoid_empty_else
# - avoid_print
- avoid_relative_lib_imports
- avoid_returning_null_for_future
- avoid_slow_async_io
- avoid_type_to_string
- avoid_types_as_parameter_names
Expand Down
2 changes: 1 addition & 1 deletion lib/src/windows/file_picker_windows.dart
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class FilePickerWindows extends FilePicker {
bool lastCharWasNull = false;
// ignore: literal_only_boolean_expressions
while (true) {
final char = openFileNameW.lpstrFile.cast<Uint16>().elementAt(i).value;
final char = openFileNameW.lpstrFile.cast<Uint16>()[i];
final currentCharIsNull = char == 0;
if (currentCharIsNull && lastCharWasNull) {
break;
Expand Down

0 comments on commit 7a03e5d

Please sign in to comment.