Skip to content

Commit

Permalink
Fix visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bilaalrashid committed Jul 28, 2024
1 parent 44410b8 commit 2bff9af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/BbcNews/Models/Request/Language.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public enum Language: String, Codable, Equatable, Hashable, CaseIterable {
case russian

/// The user facing name of the language.
var displayName: String {
public var displayName: String {
switch self {
case .arabic:
return "Arabic"
Expand All @@ -46,7 +46,7 @@ public enum Language: String, Codable, Equatable, Hashable, CaseIterable {
}

/// The value of the `clientName` URL parameter to use when calling the API for this language.
var clientName: String {
public var clientName: String {
switch self {
case .arabic:
return "Arabic"
Expand All @@ -64,7 +64,7 @@ public enum Language: String, Codable, Equatable, Hashable, CaseIterable {
}

/// The value of the `service` URL parameter to use when calling the API for this language.
var service: String {
public var service: String {
switch self {
case .arabic:
return "arabic"
Expand Down

0 comments on commit 2bff9af

Please sign in to comment.