mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Temp
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Foundation
|
||||
import AppBundle
|
||||
|
||||
private final class CurrencyFormatterEntry {
|
||||
let symbol: String
|
||||
@@ -19,7 +20,7 @@ private final class CurrencyFormatterEntry {
|
||||
}
|
||||
|
||||
private func loadCurrencyFormatterEntries() -> [String: CurrencyFormatterEntry] {
|
||||
guard let filePath = frameworkBundle.path(forResource: "currencies", ofType: "json") else {
|
||||
guard let filePath = getAppBundle().path(forResource: "currencies", ofType: "json") else {
|
||||
return [:]
|
||||
}
|
||||
guard let data = try? Data(contentsOf: URL(fileURLWithPath: filePath)) else {
|
||||
|
||||
Reference in New Issue
Block a user