Skip to content
Snippets Groups Projects
Commit de478e93 authored by poka's avatar poka
Browse files

comment warning

parent 125a7316
No related branches found
No related tags found
1 merge request!9Add figma UX for wallet option screen - rework wallet list storage
Pipeline #11408 passed
...@@ -10,7 +10,6 @@ import 'package:gecko/globals.dart'; ...@@ -10,7 +10,6 @@ import 'package:gecko/globals.dart';
import 'package:pdf/pdf.dart'; import 'package:pdf/pdf.dart';
import 'package:pdf/widgets.dart' as pw; import 'package:pdf/widgets.dart' as pw;
import 'package:printing/printing.dart'; import 'package:printing/printing.dart';
import 'package:truncate/truncate.dart';
class GenerateWalletsProvider with ChangeNotifier { class GenerateWalletsProvider with ChangeNotifier {
GenerateWalletsProvider(); GenerateWalletsProvider();
...@@ -245,10 +244,10 @@ class GenerateWalletsProvider with ChangeNotifier { ...@@ -245,10 +244,10 @@ class GenerateWalletsProvider with ChangeNotifier {
} }
Future importWallet(context, _cesiumID, _cesiumPWD) async { Future importWallet(context, _cesiumID, _cesiumPWD) async {
String _walletPubkey = await DubpRust.getLegacyPublicKey( // String _walletPubkey = await DubpRust.getLegacyPublicKey(
salt: _cesiumID, password: _cesiumPWD); // salt: _cesiumID, password: _cesiumPWD);
String shortPubkey = truncate(_walletPubkey, 9, // String shortPubkey = truncate(_walletPubkey, 9,
omission: "...", position: TruncatePosition.end); // omission: "...", position: TruncatePosition.end);
// await storeWallet( // await storeWallet(
// actualWallet, 'Portefeuille Cesium - $shortPubkey', context); // actualWallet, 'Portefeuille Cesium - $shortPubkey', context);
cesiumID.text = ''; cesiumID.text = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment