From 63ad6dadf2056a55fc61d5e165ca905d5ce0d115 Mon Sep 17 00:00:00 2001
From: Julian Dominguez-Schatz <julian.dominguezschatz@gmail.com>
Date: Wed, 14 Aug 2024 13:27:34 -0400
Subject: [PATCH] fix(mobile): show category for on-to-off-budget transfers
 (#3258)

* fix(mobile): show category for on-to-off-budget transfers

* Add release notes
---
 .../src/components/mobile/transactions/Transaction.jsx      | 2 +-
 upcoming-release-notes/3258.md                              | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 upcoming-release-notes/3258.md

diff --git a/packages/desktop-client/src/components/mobile/transactions/Transaction.jsx b/packages/desktop-client/src/components/mobile/transactions/Transaction.jsx
index 328f5b929..285bbc4e7 100644
--- a/packages/desktop-client/src/components/mobile/transactions/Transaction.jsx
+++ b/packages/desktop-client/src/components/mobile/transactions/Transaction.jsx
@@ -111,7 +111,7 @@ export const Transaction = memo(function Transaction({
   );
   const specialCategory = account?.offbudget
     ? 'Off Budget'
-    : transferAcct
+    : transferAcct && !transferAcct.offbudget
       ? 'Transfer'
       : isParent
         ? 'Split'
diff --git a/upcoming-release-notes/3258.md b/upcoming-release-notes/3258.md
new file mode 100644
index 000000000..17d64d343
--- /dev/null
+++ b/upcoming-release-notes/3258.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [jfdoming]
+---
+
+Show category for on-to-off-budget transfers
-- 
GitLab