From 2a6b4c400ec3983b88988a871c97c7ad4399271d Mon Sep 17 00:00:00 2001 From: Hugo Alonso Date: Mon, 27 Jun 2022 17:29:55 +0200 Subject: [PATCH] Change bundle locator as it's not compatible with enums --- DateToolsSwift/DateTools/Date+Bundle.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DateToolsSwift/DateTools/Date+Bundle.swift b/DateToolsSwift/DateTools/Date+Bundle.swift index 9bec5565..ad2f7b75 100644 --- a/DateToolsSwift/DateTools/Date+Bundle.swift +++ b/DateToolsSwift/DateTools/Date+Bundle.swift @@ -11,7 +11,7 @@ import Foundation public extension Bundle { class func dateToolsBundle() -> Bundle { - let assetPath = Bundle(for: Constants.self).resourcePath! + let assetPath = Bundle(for: Self.self).resourcePath! return Bundle(path: NSString(string: assetPath).appendingPathComponent("DateTools.bundle"))! } }