Skip to content

Commit

Permalink
Fix access level for language structure init.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrylo-mukha committed Nov 21, 2023
1 parent 67c90ac commit e7bfa17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Sources/SwiftLocaleKit/Models/LocaleKitLanguage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import Foundation
public struct LocaleKitLanguage: Equatable {
public let code: String

public init(code: String) {
self.code = code
}

public var shortCode: String {
return locale.languageCode ?? code
}
Expand Down
2 changes: 1 addition & 1 deletion SwiftLocaleKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'SwiftLocaleKit'
s.version = '1.3.0'
s.version = '1.4.0'
s.summary = 'The SwiftLocaleKit is libriry for simlify localization and synchronize it with system localization settings and synchronize them'

s.description = <<-DESC
Expand Down

0 comments on commit e7bfa17

Please sign in to comment.