Skip to content

Commit aeafdcc

Browse files
danieldaquinojb55
authored andcommitted
Non-functional auto-formatter refactor
Signed-off-by: Daniel D’Aquino <[email protected]> Signed-off-by: William Casarin <[email protected]>
1 parent f37957f commit aeafdcc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

damus/Models/Purple/DamusPurpleEnvironment.swift

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ enum DamusPurpleEnvironment: String, CaseIterable, Codable, Identifiable, String
1111
case local_test
1212
case staging
1313
case production
14-
14+
1515
func text_description() -> String {
1616
switch self {
1717
case .local_test:
@@ -22,7 +22,7 @@ enum DamusPurpleEnvironment: String, CaseIterable, Codable, Identifiable, String
2222
return NSLocalizedString("Production", comment: "Label indicating the production environment for Damus Purple")
2323
}
2424
}
25-
25+
2626
func api_base_url() -> URL {
2727
switch self {
2828
case .local_test:
@@ -33,7 +33,7 @@ enum DamusPurpleEnvironment: String, CaseIterable, Codable, Identifiable, String
3333
Constants.PURPLE_API_PRODUCTION_BASE_URL
3434
}
3535
}
36-
36+
3737
func purple_landing_page_url() -> URL {
3838
switch self {
3939
case .local_test:
@@ -44,7 +44,7 @@ enum DamusPurpleEnvironment: String, CaseIterable, Codable, Identifiable, String
4444
Constants.PURPLE_LANDING_PAGE_PRODUCTION_URL
4545
}
4646
}
47-
47+
4848
func damus_website_url() -> URL {
4949
switch self {
5050
case .local_test:
@@ -55,15 +55,15 @@ enum DamusPurpleEnvironment: String, CaseIterable, Codable, Identifiable, String
5555
Constants.DAMUS_WEBSITE_PRODUCTION_URL
5656
}
5757
}
58-
58+
5959
init?(from string: String) {
6060
guard let initialized = Self.init(rawValue: string) else { return nil }
6161
self = initialized
6262
}
63-
63+
6464
func to_string() -> String {
6565
return self.rawValue
6666
}
67-
67+
6868
var id: String { self.rawValue }
6969
}

0 commit comments

Comments
 (0)