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

fix parent data

parent c995ae19
Branches
Tags v0.1.21+95
No related merge requests found
Pipeline #39364 failed
// ignore_for_file: use_build_context_synchronously // ignore_for_file: use_build_context_synchronously
import 'package:easy_localization/easy_localization.dart'; import 'package:easy_localization/easy_localization.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:gecko/globals.dart'; import 'package:gecko/globals.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:gecko/models/migrate_wallet_checks.dart'; import 'package:gecko/models/migrate_wallet_checks.dart';
...@@ -16,6 +15,7 @@ import 'package:gecko/providers/wallets_profiles.dart'; ...@@ -16,6 +15,7 @@ import 'package:gecko/providers/wallets_profiles.dart';
import 'package:gecko/screens/transaction_in_progress.dart'; import 'package:gecko/screens/transaction_in_progress.dart';
import 'package:gecko/utils.dart'; import 'package:gecko/utils.dart';
import 'package:gecko/widgets/balance_display.dart'; import 'package:gecko/widgets/balance_display.dart';
import 'package:gecko/widgets/commons/text_markdown.dart';
import 'package:gecko/widgets/commons/top_appbar.dart'; import 'package:gecko/widgets/commons/top_appbar.dart';
import 'package:polkawallet_sdk/api/apiKeyring.dart'; import 'package:polkawallet_sdk/api/apiKeyring.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
...@@ -125,23 +125,14 @@ class MigrateIdentityScreen extends StatelessWidget { ...@@ -125,23 +125,14 @@ class MigrateIdentityScreen extends StatelessWidget {
Wrap( Wrap(
alignment: WrapAlignment.center, alignment: WrapAlignment.center,
children: [ children: [
Flexible( TextMarkDown(
child: MarkdownBody( 'areYouSureMigrateIdentity'.tr(args: [duniterIndexer.walletNameIndexer[fromAddress] ?? '???']),
data: 'areYouSureMigrateIdentity'.tr(args: [duniterIndexer.walletNameIndexer[fromAddress] ?? '???']), textAlign: WrapAlignment.center,
styleSheet: MarkdownStyleSheet( style: scaledTextStyle(
p: scaledTextStyle(
fontSize: isSmallScreen ? 14 : 15, fontSize: isSmallScreen ? 14 : 15,
color: Colors.black87, color: Colors.black87,
height: 1.5, height: 1.5,
), ),
strong: scaledTextStyle(
fontSize: isSmallScreen ? 14 : 15,
fontWeight: FontWeight.bold,
color: Colors.black87,
),
textAlign: WrapAlignment.center,
),
),
), ),
BalanceDisplay( BalanceDisplay(
value: walletOptions.balanceCache[fromAddress] ?? 0, value: walletOptions.balanceCache[fromAddress] ?? 0,
......
...@@ -2,7 +2,7 @@ name: gecko ...@@ -2,7 +2,7 @@ name: gecko
description: Pay with G1. description: Pay with G1.
publish_to: "none" publish_to: "none"
version: 0.1.21+94 version: 0.1.21+95
environment: environment:
sdk: ^3.5.3 sdk: ^3.5.3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment