Skip to content

Commit 7daccdf

Browse files
committed
1 parent b8da384 commit 7daccdf

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Sources/FairApp/FairApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public extension SceneManager {
267267
///
268268
/// - Parameter bundle: the bundle from which to load the resource (typically `.module`)
269269
/// - Returns: the decoded type parsed from the YAML file
270-
static func configuration<T: Decodable>(name: String, for bundle: Bundle) throws -> T {
270+
static func configuration<T: Decodable>(name: String, for bundle: Bundle = Self.bundle) throws -> T {
271271
guard let url = bundle.url(forResource: name, withExtension: "yml", subdirectory: nil) else {
272272
throw AppError(String(format: NSLocalizedString("Unable to load resource named: “%@”", bundle: .module, comment: "error message"), name))
273273
}

Sources/FairApp/Snapshots.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ extension SceneManager where AppFacets : FacetView & RawRepresentable, ConfigFac
170170

171171
/// The locales that have keys defined in the `app.localizations` set of `App.yml`
172172
public func configuredLocales() throws -> [Locale]? {
173-
let config: JSum = try Self.configuration(name: "App", for: Self.bundle)
173+
let config: JSum = try Self.configuration(name: "App")
174174
let app = config["app"]
175175
let locs = app?["localizations"]?.obj
176176
return locs?.keys.map(Locale.init(identifier:))

Sources/FairCore/Info.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ let Info : [String : Any] = [
44
"CFBundleIdentifier" : "org.fair-ground.Fair",
55
"CFBundleInfoDictionaryVersion" : "6.0",
66
"CFBundlePackageType" : "FMWK",
7-
"CFBundleShortVersionString" : "0.8.36",
7+
"CFBundleShortVersionString" : "0.8.37",
88
"NSHumanReadableCopyright" : "GNU Affero General Public License",
99
]

Sources/FairCore/Resources/FairCore.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<key>CFBundlePackageType</key>
1212
<string>FMWK</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>0.8.36</string>
14+
<string>0.8.37</string>
1515
<key>NSHumanReadableCopyright</key>
1616
<string>GNU Affero General Public License</string>
1717
</dict>

0 commit comments

Comments
 (0)