Added a generate-name button for restore-from-key page and removed empty lines, types for final variables, and print statements

This commit is contained in:
RafiaChy
2022-01-24 20:00:26 +06:00
parent a89397651f
commit 3ed867aba3
4 changed files with 33 additions and 10 deletions
@@ -116,9 +116,7 @@ class _WalletNameFormState extends State<WalletNameForm> {
decoration: InputDecoration(
suffixIcon: IconButton(
onPressed: () async {
final String rName = await generateName();
print(rName);
final rName = await generateName();
setState(() {
_controller.text = rName;
_walletNewVM.name = rName;