From 4ec96ddcea753dd69af66cd445bb3154939fc93b Mon Sep 17 00:00:00 2001
From: vjrj <vjrj@comunes.org>
Date: Sun, 15 Oct 2023 00:25:59 +0200
Subject: [PATCH] Delete of Cesium wallets

---
 .../first_screen/credit_card_mini.dart        | 39 +++++++++----------
 1 file changed, 19 insertions(+), 20 deletions(-)

diff --git a/lib/ui/widgets/first_screen/credit_card_mini.dart b/lib/ui/widgets/first_screen/credit_card_mini.dart
index 9ef92aab..7f583fde 100644
--- a/lib/ui/widgets/first_screen/credit_card_mini.dart
+++ b/lib/ui/widgets/first_screen/credit_card_mini.dart
@@ -86,28 +86,27 @@ class CreditCardMini extends StatelessWidget {
                 child: Padding(
                   padding: const EdgeInsets.all(10),
                   child: Stack(children: <Widget>[
-                    if (inDevelopment)
-                      if (!SharedPreferencesHelper().isG1nkgoCard())
-                        Positioned(
-                          top: 60,
-                          right: 0,
-                          child: Visibility(
-                            visible: settingsVisible,
-                            child: FloatingActionButton(
-                              backgroundColor: Colors.transparent,
-                              elevation: 1,
-                              onPressed: () {
-                                SharedPreferencesHelper()
-                                    .selectCurrentWalletIndex(0);
-                                SharedPreferencesHelper()
-                                    .removeCesiumCard(cardIndex);
-                                Navigator.pop(context);
-                              },
-                              child:
-                                  const Icon(Icons.delete, color: Colors.white),
-                            ),
+                    if (!SharedPreferencesHelper().isG1nkgoCard())
+                      Positioned(
+                        top: 60,
+                        right: 0,
+                        child: Visibility(
+                          visible: settingsVisible,
+                          child: FloatingActionButton(
+                            backgroundColor: Colors.transparent,
+                            elevation: 1,
+                            onPressed: () {
+                              SharedPreferencesHelper()
+                                  .selectCurrentWalletIndex(0);
+                              SharedPreferencesHelper()
+                                  .removeCesiumCard(cardIndex);
+                              Navigator.pop(context);
+                            },
+                            child:
+                                const Icon(Icons.delete, color: Colors.white),
                           ),
                         ),
+                      ),
                     Positioned(
                       top: 0,
                       right: 0,
-- 
GitLab