From 97df24c644abcdd6d948e41b659278d9f012d6dc Mon Sep 17 00:00:00 2001
From: meskio <meskio@sindominio.net>
Date: Sun, 24 Jan 2021 19:26:59 +0100
Subject: [PATCH] Recarga and devolucion confusion

---
 src/TransactionList.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/TransactionList.js b/src/TransactionList.js
index 87d4698..45aa3cb 100644
--- a/src/TransactionList.js
+++ b/src/TransactionList.js
@@ -35,9 +35,9 @@ function transactionOverlay(transaction) {
       break;
     case "topup":
       if (transaction.total < 0) {
-        title = "recarga";
-      } else {
         title = "devolución";
+      } else {
+        title = "recarga";
       }
       content = transaction.topup.comment;
       break;
-- 
GitLab