can copy address from generated Cesium salt/password
This commit is contained in:
parent
ebc33e4f6c
commit
3abf2666ba
|
@ -10,6 +10,7 @@ import 'package:gecko/models/wallet_data.dart';
|
||||||
import 'package:gecko/providers/my_wallets.dart';
|
import 'package:gecko/providers/my_wallets.dart';
|
||||||
import 'package:gecko/providers/substrate_sdk.dart';
|
import 'package:gecko/providers/substrate_sdk.dart';
|
||||||
import 'package:gecko/providers/wallet_options.dart';
|
import 'package:gecko/providers/wallet_options.dart';
|
||||||
|
import 'package:gecko/providers/wallets_profiles.dart';
|
||||||
import 'package:gecko/screens/myWallets/unlocking_wallet.dart';
|
import 'package:gecko/screens/myWallets/unlocking_wallet.dart';
|
||||||
import 'package:gecko/screens/transaction_in_progress.dart';
|
import 'package:gecko/screens/transaction_in_progress.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
|
@ -171,14 +172,29 @@ class ImportG1v1 extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
Text(
|
GestureDetector(
|
||||||
getShortPubkey(sub.g1V1NewAddress),
|
key: const Key('copyPubkey'),
|
||||||
style: const TextStyle(
|
onTap: () {
|
||||||
fontSize: 18,
|
Clipboard.setData(
|
||||||
color: Colors.black,
|
ClipboardData(text: sub.g1V1NewAddress));
|
||||||
fontWeight: FontWeight.bold,
|
snackCopyKey(context);
|
||||||
fontFamily: 'Monospace'),
|
},
|
||||||
|
child: Text(
|
||||||
|
getShortPubkey(sub.g1V1NewAddress),
|
||||||
|
style: const TextStyle(
|
||||||
|
fontSize: 20,
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
|
// Text(
|
||||||
|
// getShortPubkey(sub.g1V1NewAddress),
|
||||||
|
// style: const TextStyle(
|
||||||
|
// fontSize: 18,
|
||||||
|
// color: Colors.black,
|
||||||
|
// fontWeight: FontWeight.bold,
|
||||||
|
// fontFamily: 'Monospace'),
|
||||||
|
// ),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
Text(
|
Text(
|
||||||
'${balance['transferableBalance']} $currencyName',
|
'${balance['transferableBalance']} $currencyName',
|
||||||
|
|
|
@ -5,7 +5,7 @@ description: Pay with G1.
|
||||||
# pub.dev using `pub publish`. This is preferred for private packages.
|
# pub.dev using `pub publish`. This is preferred for private packages.
|
||||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||||
|
|
||||||
version: 0.0.10+26
|
version: 0.0.10+27
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.12.0 <3.0.0'
|
sdk: '>=2.12.0 <3.0.0'
|
||||||
|
|
Loading…
Reference in New Issue