gradle
This commit is contained in:
parent
15d0046e18
commit
19020f93f6
|
@ -70,6 +70,10 @@ android {
|
||||||
|
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
|
debug {
|
||||||
|
signingConfig signingConfigs.debug
|
||||||
|
debuggable true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,8 +78,8 @@ class WalletsProfilesProvider with ChangeNotifier {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (regExp.hasMatch(address) == true &&
|
if (regExp.hasMatch(address) == true &&
|
||||||
address.length > 47 &&
|
address.length > 45 &&
|
||||||
address.length < 50) {
|
address.length < 52) {
|
||||||
log.d("C'est une adresse !");
|
log.d("C'est une adresse !");
|
||||||
|
|
||||||
this.address = address;
|
this.address = address;
|
||||||
|
|
|
@ -8,7 +8,6 @@ import 'package:gecko/models/wallet_data.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/providers/wallets_profiles.dart';
|
||||||
import 'package:gecko/screens/history.dart';
|
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:qr_flutter/qr_flutter.dart';
|
import 'package:qr_flutter/qr_flutter.dart';
|
||||||
|
@ -316,22 +315,22 @@ class WalletOptions extends StatelessWidget {
|
||||||
key: const Key('displayHistory'),
|
key: const Key('displayHistory'),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
_historyProvider.nPage = 1;
|
_historyProvider.nPage = 1;
|
||||||
Navigator.push(
|
// Navigator.push(
|
||||||
context,
|
// context,
|
||||||
MaterialPageRoute(builder: (context) {
|
// MaterialPageRoute(builder: (context) {
|
||||||
return HistoryScreen(
|
// return HistoryScreen(
|
||||||
pubkey: walletProvider.address.text,
|
// pubkey: walletProvider.address.text,
|
||||||
avatar: wallet.imageCustomPath == null
|
// avatar: wallet.imageCustomPath == null
|
||||||
? Image.asset(
|
// ? Image.asset(
|
||||||
'assets/avatars/${wallet.imageDefaultPath}',
|
// 'assets/avatars/${wallet.imageDefaultPath}',
|
||||||
width: 110,
|
// width: 110,
|
||||||
)
|
// )
|
||||||
: Image.asset(
|
// : Image.asset(
|
||||||
wallet.imageCustomPath!,
|
// wallet.imageCustomPath!,
|
||||||
width: 110,
|
// width: 110,
|
||||||
));
|
// ));
|
||||||
}),
|
// }),
|
||||||
);
|
// );
|
||||||
},
|
},
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 50,
|
height: 50,
|
||||||
|
@ -342,8 +341,8 @@ class WalletOptions extends StatelessWidget {
|
||||||
height: 45,
|
height: 45,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 22),
|
const SizedBox(width: 22),
|
||||||
const Text('Historique des transactions',
|
Text('Historique des transactions',
|
||||||
style: TextStyle(fontSize: 20, color: Colors.black)),
|
style: TextStyle(fontSize: 20, color: Colors.grey[500])),
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue