Skip to content

Commit

Permalink
Remove Swift version check
Browse files Browse the repository at this point in the history
  • Loading branch information
Hengyu committed Dec 5, 2023
1 parent 98b366a commit 07cb1e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/FeedbackSwift/Bundle+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extension Bundle {
}

static var platformNamesPlistPath: String? {
#if SWIFT_PACKAGE && swift(>=5.3)
#if SWIFT_PACKAGE
let bundles: [Bundle] = [Bundle.main, Bundle.feedbackBundle, Bundle.module]
#else
let bundles: [Bundle] = [Bundle.main, Bundle.feedbackBundle]
Expand Down
2 changes: 1 addition & 1 deletion Sources/FeedbackSwift/Functions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import UIKit
import UniformTypeIdentifiers

func localized(_ key: String) -> String {
#if SWIFT_PACKAGE && swift(>=5.3)
#if SWIFT_PACKAGE
let bundles: [Bundle] = [Bundle.main, Bundle.feedbackBundle, Bundle.module]
#else
let bundles: [Bundle] = [Bundle.main, Bundle.feedbackBundle]
Expand Down

0 comments on commit 07cb1e4

Please sign in to comment.