Show Compare and Period vs Period in calm mode (build 35)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
alexandrev-tibco
2026-05-26 19:28:38 +02:00
parent 12ab2d6009
commit 54dfd8a8e3
2 changed files with 9 additions and 9 deletions
@@ -89,7 +89,7 @@ class ChartsViewModel: ObservableObject {
func availableChartTypes(calmModeEnabled: Bool) -> [ChartType] {
let types: [ChartType] = calmModeEnabled
? [.evolution, .allocation, .performance, .contributions]
? [.evolution, .allocation, .performance, .contributions, .comparison, .periodComparison]
: ChartType.allCases
if !types.contains(selectedChartType) {
selectedChartType = .evolution