Skip to content

Commit

Permalink
fix ui
Browse files Browse the repository at this point in the history
  • Loading branch information
praslnx8 committed Oct 28, 2024
1 parent 1fb5642 commit 3e99333
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions lib/ui/pages/investments_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,23 +190,18 @@ class _InvestmentsPage extends PageState<InvestmentsViewState, InvestmentsPage,
top: 0,
left: 0,
right: 0,
child: Column(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Container(
padding: const EdgeInsets.all(8.0),
color: Colors.white,
child: Text(
'Sold: ${formatToCurrency(investmentVO.profit)}',
style: TextStyle(
color: investmentVO.isProfit
? Colors.green
: Colors.red,
fontWeight: FontWeight.bold,
),
),
child: Container(
padding: const EdgeInsets.all(8.0),
color: Colors.white,
child: Text(
'Sold: ${formatToCurrency(investmentVO.profit)}',
style: TextStyle(
color: investmentVO.isProfit
? Colors.green
: Colors.red,
fontWeight: FontWeight.bold,
),
],
),
),
)
else
Expand Down

0 comments on commit 3e99333

Please sign in to comment.