Add tests for 1.1.0 features
This commit is contained in:
@@ -457,15 +457,10 @@ struct MonthlyCheckInView: View {
|
||||
|
||||
private func shareMonthlyCheckIn() {
|
||||
let summary = viewModel.monthlySummary
|
||||
let text = """
|
||||
\(summary.periodLabel) Check-in
|
||||
Starting: \(summary.formattedStartingValue)
|
||||
Ending: \(summary.formattedEndingValue)
|
||||
Contributions: \(summary.formattedContributions)
|
||||
Net performance: \(summary.formattedNetPerformance) (\(summary.formattedNetPerformancePercentage))
|
||||
|
||||
Shared from \(appDisplayName)
|
||||
"""
|
||||
let text = ShareService.buildMonthlyCheckInShareText(
|
||||
summary: summary,
|
||||
appName: appDisplayName
|
||||
)
|
||||
ShareService.shared.shareText(text)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user