forked from axiom-team/gecko
flutter format
This commit is contained in:
parent
f02cd7d192
commit
51894fe6be
|
@ -90,8 +90,8 @@ class MyWalletsProvider with ChangeNotifier {
|
|||
try {
|
||||
log.w('DELETE ALL WALLETS ?');
|
||||
|
||||
final bool? _answer = await (confirmPopup(
|
||||
context, 'areYouSureForgetAllChests'.tr()));
|
||||
final bool? _answer =
|
||||
await (confirmPopup(context, 'areYouSureForgetAllChests'.tr()));
|
||||
if (_answer!) {
|
||||
await walletBox.clear();
|
||||
await chestBox.clear();
|
||||
|
|
|
@ -149,7 +149,8 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
animationType: AnimationType.fade,
|
||||
validator: (v) {
|
||||
if (v!.length < _pinLenght) {
|
||||
return "yourPasswordLengthIsX".tr(args: [_pinLenght.toString()]);
|
||||
return "yourPasswordLengthIsX"
|
||||
.tr(args: [_pinLenght.toString()]);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -45,10 +45,7 @@ class OnboardingStepNine extends StatelessWidget {
|
|||
SizedBox(height: isTall ? 40 : 20),
|
||||
common.buildProgressBar(8),
|
||||
SizedBox(height: isTall ? 40 : 20),
|
||||
common.buildText(
|
||||
"hereIsThePasswordKeepIt".tr(),
|
||||
20,
|
||||
true),
|
||||
common.buildText("hereIsThePasswordKeepIt".tr(), 20, true),
|
||||
const SizedBox(height: 100),
|
||||
Stack(
|
||||
alignment: Alignment.centerRight,
|
||||
|
|
|
@ -38,7 +38,8 @@ class SubstrateSandBox extends StatelessWidget {
|
|||
child: Text(
|
||||
'🌐 Noeud connecté ?: ${_sub.nodeConnected} (${_sub.sdk.api.connectedNode?.endpoint})')),
|
||||
if (_sub.nodeConnected)
|
||||
Text('🏆 Noeud "$currencyName", bloc N°${_sub.blocNumber}'),
|
||||
Text(
|
||||
'🏆 Noeud "$currencyName", bloc N°${_sub.blocNumber}'),
|
||||
const SizedBox(height: 20),
|
||||
Row(children: [
|
||||
const Text('💳 Liste des coffres:'),
|
||||
|
|
Loading…
Reference in New Issue