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

flutter format

parent f02cd7d1
No related branches found
No related tags found
No related merge requests found
...@@ -90,8 +90,8 @@ class MyWalletsProvider with ChangeNotifier { ...@@ -90,8 +90,8 @@ class MyWalletsProvider with ChangeNotifier {
try { try {
log.w('DELETE ALL WALLETS ?'); log.w('DELETE ALL WALLETS ?');
final bool? _answer = await (confirmPopup( final bool? _answer =
context, 'areYouSureForgetAllChests'.tr())); await (confirmPopup(context, 'areYouSureForgetAllChests'.tr()));
if (_answer!) { if (_answer!) {
await walletBox.clear(); await walletBox.clear();
await chestBox.clear(); await chestBox.clear();
......
...@@ -149,7 +149,8 @@ class OnboardingStepTen extends StatelessWidget { ...@@ -149,7 +149,8 @@ class OnboardingStepTen extends StatelessWidget {
animationType: AnimationType.fade, animationType: AnimationType.fade,
validator: (v) { validator: (v) {
if (v!.length < _pinLenght) { if (v!.length < _pinLenght) {
return "yourPasswordLengthIsX".tr(args: [_pinLenght.toString()]); return "yourPasswordLengthIsX"
.tr(args: [_pinLenght.toString()]);
} else { } else {
return null; return null;
} }
......
...@@ -45,10 +45,7 @@ class OnboardingStepNine extends StatelessWidget { ...@@ -45,10 +45,7 @@ class OnboardingStepNine extends StatelessWidget {
SizedBox(height: isTall ? 40 : 20), SizedBox(height: isTall ? 40 : 20),
common.buildProgressBar(8), common.buildProgressBar(8),
SizedBox(height: isTall ? 40 : 20), SizedBox(height: isTall ? 40 : 20),
common.buildText( common.buildText("hereIsThePasswordKeepIt".tr(), 20, true),
"hereIsThePasswordKeepIt".tr(),
20,
true),
const SizedBox(height: 100), const SizedBox(height: 100),
Stack( Stack(
alignment: Alignment.centerRight, alignment: Alignment.centerRight,
......
...@@ -38,7 +38,8 @@ class SubstrateSandBox extends StatelessWidget { ...@@ -38,7 +38,8 @@ class SubstrateSandBox extends StatelessWidget {
child: Text( child: Text(
'🌐 Noeud connecté ?: ${_sub.nodeConnected} (${_sub.sdk.api.connectedNode?.endpoint})')), '🌐 Noeud connecté ?: ${_sub.nodeConnected} (${_sub.sdk.api.connectedNode?.endpoint})')),
if (_sub.nodeConnected) if (_sub.nodeConnected)
Text('🏆 Noeud "$currencyName", bloc N°${_sub.blocNumber}'), Text(
'🏆 Noeud "$currencyName", bloc N°${_sub.blocNumber}'),
const SizedBox(height: 20), const SizedBox(height: 20),
Row(children: [ Row(children: [
const Text('💳 Liste des coffres:'), const Text('💳 Liste des coffres:'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment