diff --git a/lib/pages/tracked_item.dart b/lib/pages/tracked_item.dart index 8a6dc1e..3c76c32 100644 --- a/lib/pages/tracked_item.dart +++ b/lib/pages/tracked_item.dart @@ -103,12 +103,17 @@ class _TrackedItemPageState extends State<TrackedItemPage> { itemYearAmount = -1; estimateSymbolYearly = ""; } + + final String monthlyTitle = curr.type == ItemType.asset + ? "" + : " ${Frequency.monthly.title}"; + final String itemTopText = itemDayAmount < 0 ? "" : "$estimateSymbolDaily${itemDayAmount.toStringAsFixed(2)} ${Frequency.daily.title}"; final String itemMiddleText = itemMonthAmount < 0 ? "" - : "$estimateSymbolMonthly${itemMonthAmount.toStringAsFixed(2)} ${Frequency.monthly.title}"; + : "$estimateSymbolMonthly${itemMonthAmount.toStringAsFixed(2)}$monthlyTitle"; final String itemBottomText = itemYearAmount < 0 ? "" : "$estimateSymbolYearly${itemYearAmount.toStringAsFixed(2)} ${Frequency.yearly.title}";