Skip to content

Commit

Permalink
Remove obsolete null check
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Sep 25, 2023
1 parent 51ef0f8 commit 20a70a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ class RestoreFormPageState extends State<RestoreForm> {
_selectSuggestion(suggestionList.first, itemIndex);
return List.empty();
}
return suggestionList.isNotEmpty ? suggestionList : List.empty();
return suggestionList;
}
}

0 comments on commit 20a70a4

Please sign in to comment.