Skip to content

Commit

Permalink
fixed err msg in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalxl committed Aug 19, 2022
1 parent 7711a7c commit 0d09e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/console_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ int showMenu(List<String> menuOptions, String menuName) {
} on Exception catch (e) {
print(e);
}

print("Invalid option. Kindly try again. The valid\noptions are from 1 to ${menuOptions.length}");
}
print("\nInvalid option. Kindly try again. The valid options are from 1 to ${menuOptions.length}\n");

}
}

Expand Down

0 comments on commit 0d09e43

Please sign in to comment.