We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad3e8c commit e456e6dCopy full SHA for e456e6d
WooCommerce/Classes/ViewRelated/Dashboard/Analytics Hub/Time Range/AnalyticsHubTimeRangeSelection.swift
@@ -90,17 +90,15 @@ extension AnalyticsHubTimeRangeSelection {
90
case yearToDate
91
92
var description: String {
93
- get {
94
- switch self {
95
- case .today:
96
- return Localization.today
97
- case .weekToDate:
98
- return Localization.weekToDate
99
- case .monthToDate:
100
- return Localization.monthToDate
101
- case .yearToDate:
102
- return Localization.yearToDate
103
- }
+ switch self {
+ case .today:
+ return Localization.today
+ case .weekToDate:
+ return Localization.weekToDate
+ case .monthToDate:
+ return Localization.monthToDate
+ case .yearToDate:
+ return Localization.yearToDate
104
}
105
106
0 commit comments