Skip to content

Commit

Permalink
only show account group separator line if both groups are present
Browse files Browse the repository at this point in the history
  • Loading branch information
gabeklavans committed Oct 27, 2024
1 parent 13805ba commit 34c8971
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions packages/desktop-client/src/components/mobile/accounts/Accounts.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,16 +206,18 @@ function AccountList({
/>
))}

<div
style={{
width: '100%',
height: 2,
background: theme.pageText,
paddingLeft: 10,
paddingRight: 10,
marginTop: 20,
}}
/>
{offbudgetAccounts.length > 0 && budgetedAccounts.length > 0 && (
<div
style={{
width: '100%',
height: 2,
background: theme.pageText,
paddingLeft: 10,
paddingRight: 10,
marginTop: 20,
}}
/>
)}

{offbudgetAccounts.length > 0 && (
<AccountHeader
Expand Down

0 comments on commit 34c8971

Please sign in to comment.