From 20a70a40077fc2d30bf2c8203dfffece053628a2 Mon Sep 17 00:00:00 2001 From: Erdem Yerebasmaz Date: Mon, 17 Jul 2023 18:07:10 +0300 Subject: [PATCH] Remove obsolete null check --- .../initial_walkthrough/mnemonics/widgets/restore_form.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/initial_walkthrough/mnemonics/widgets/restore_form.dart b/lib/routes/initial_walkthrough/mnemonics/widgets/restore_form.dart index e911b37da..0e87b2287 100644 --- a/lib/routes/initial_walkthrough/mnemonics/widgets/restore_form.dart +++ b/lib/routes/initial_walkthrough/mnemonics/widgets/restore_form.dart @@ -130,6 +130,6 @@ class RestoreFormPageState extends State { _selectSuggestion(suggestionList.first, itemIndex); return List.empty(); } - return suggestionList.isNotEmpty ? suggestionList : List.empty(); + return suggestionList; } }