From 794dd54ccd30c34cd84e25ced355cad6e48a077a Mon Sep 17 00:00:00 2001
From: poka <poka@p2p.legal>
Date: Sat, 28 Dec 2024 23:39:06 +0100
Subject: [PATCH] fix parent data

---
 lib/screens/myWallets/migrate_identity.dart | 25 +++++++--------------
 pubspec.yaml                                |  2 +-
 2 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/lib/screens/myWallets/migrate_identity.dart b/lib/screens/myWallets/migrate_identity.dart
index 3497e23..1f24c43 100644
--- a/lib/screens/myWallets/migrate_identity.dart
+++ b/lib/screens/myWallets/migrate_identity.dart
@@ -1,7 +1,6 @@
 // ignore_for_file: use_build_context_synchronously
 
 import 'package:easy_localization/easy_localization.dart';
-import 'package:flutter_markdown/flutter_markdown.dart';
 import 'package:gecko/globals.dart';
 import 'package:flutter/material.dart';
 import 'package:gecko/models/migrate_wallet_checks.dart';
@@ -16,6 +15,7 @@ import 'package:gecko/providers/wallets_profiles.dart';
 import 'package:gecko/screens/transaction_in_progress.dart';
 import 'package:gecko/utils.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:polkawallet_sdk/api/apiKeyring.dart';
 import 'package:provider/provider.dart';
@@ -125,22 +125,13 @@ class MigrateIdentityScreen extends StatelessWidget {
                             Wrap(
                               alignment: WrapAlignment.center,
                               children: [
-                                Flexible(
-                                  child: MarkdownBody(
-                                    data: 'areYouSureMigrateIdentity'.tr(args: [duniterIndexer.walletNameIndexer[fromAddress] ?? '???']),
-                                    styleSheet: MarkdownStyleSheet(
-                                      p: scaledTextStyle(
-                                        fontSize: isSmallScreen ? 14 : 15,
-                                        color: Colors.black87,
-                                        height: 1.5,
-                                      ),
-                                      strong: scaledTextStyle(
-                                        fontSize: isSmallScreen ? 14 : 15,
-                                        fontWeight: FontWeight.bold,
-                                        color: Colors.black87,
-                                      ),
-                                      textAlign: WrapAlignment.center,
-                                    ),
+                                TextMarkDown(
+                                  'areYouSureMigrateIdentity'.tr(args: [duniterIndexer.walletNameIndexer[fromAddress] ?? '???']),
+                                  textAlign: WrapAlignment.center,
+                                  style: scaledTextStyle(
+                                    fontSize: isSmallScreen ? 14 : 15,
+                                    color: Colors.black87,
+                                    height: 1.5,
                                   ),
                                 ),
                                 BalanceDisplay(
diff --git a/pubspec.yaml b/pubspec.yaml
index 9c097f7..fd1fe0f 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -2,7 +2,7 @@ name: gecko
 description: Pay with G1.
 publish_to: "none"
 
-version: 0.1.21+94
+version: 0.1.21+95
 
 environment:
   sdk: ^3.5.3
-- 
GitLab