From 3e32b930e3ded1a1889cde0797f8dda62e64610b Mon Sep 17 00:00:00 2001 From: thefirex Date: Sat, 5 Oct 2024 13:55:04 +0100 Subject: [PATCH] Fixes bank sync notification overlap with uncategorized transactions --- .../src/components/BankSyncStatus.tsx | 15 ++++++--------- .../desktop-client/src/components/FinancesApp.tsx | 2 -- .../desktop-client/src/components/Titlebar.tsx | 2 ++ upcoming-release-notes/3577.md | 6 ++++++ 4 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 upcoming-release-notes/3577.md diff --git a/packages/desktop-client/src/components/BankSyncStatus.tsx b/packages/desktop-client/src/components/BankSyncStatus.tsx index 52130e0c198..7ab31a9d287 100644 --- a/packages/desktop-client/src/components/BankSyncStatus.tsx +++ b/packages/desktop-client/src/components/BankSyncStatus.tsx @@ -21,9 +21,9 @@ export function BankSyncStatus() { const transitions = useTransition( accountsSyncingCount > 0 ? 'syncing' : null, { - from: { opacity: 0, transform: 'translateY(-100px)' }, - enter: { opacity: 1, transform: 'translateY(0)' }, - leave: { opacity: 0, transform: 'translateY(-100px)' }, + from: { opacity: 0 }, + enter: { opacity: 1 }, + leave: { opacity: 0 }, unique: true, }, ); @@ -31,13 +31,10 @@ export function BankSyncStatus() { return ( {transitions( diff --git a/packages/desktop-client/src/components/FinancesApp.tsx b/packages/desktop-client/src/components/FinancesApp.tsx index b585d5d30ee..e5cc924f4cd 100644 --- a/packages/desktop-client/src/components/FinancesApp.tsx +++ b/packages/desktop-client/src/components/FinancesApp.tsx @@ -22,7 +22,6 @@ import { useResponsive } from '../ResponsiveProvider'; import { theme } from '../style'; import { getIsOutdated, getLatestVersion } from '../util/versions'; -import { BankSyncStatus } from './BankSyncStatus'; import { View } from './common/View'; import { GlobalKeys } from './GlobalKeys'; import { ManageRulesPage } from './ManageRulesPage'; @@ -174,7 +173,6 @@ export function FinancesApp() { }} /> - + {isDevelopmentEnvironment() && !Platform.isPlaywright && ( diff --git a/upcoming-release-notes/3577.md b/upcoming-release-notes/3577.md new file mode 100644 index 00000000000..f0f6c4feed7 --- /dev/null +++ b/upcoming-release-notes/3577.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [The-Firexx] +--- + +Fixes bank sync notification overlap with uncategorized transactions \ No newline at end of file