Remove -USD suffix from crypto symbol display

This commit is contained in:
ChuckBuilds
2025-04-23 17:33:47 -05:00
parent 979de322cf
commit 5c7eeb45d4

View File

@@ -431,7 +431,8 @@ class StockManager:
int(self.display_manager.regular_font.size)) int(self.display_manager.regular_font.size))
# Calculate text dimensions for proper spacing # Calculate text dimensions for proper spacing
symbol_text = symbol display_symbol = symbol.replace('-USD', '') if is_crypto else symbol
symbol_text = display_symbol
price_text = f"${price:.2f}" price_text = f"${price:.2f}"
change_text = f"{change:+.2f} ({change_percent:+.1f}%)" change_text = f"{change:+.2f} ({change_percent:+.1f}%)"