Skip to content

Commit db512e5

Browse files
committed
chore: lint
1 parent 4f04c26 commit db512e5

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

Bitkit/Utilities/LocalizeHelpers.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,6 @@ enum LocalizationHelper {
5858

5959
/// Formats a string using ICU MessageFormat with pluralization support
6060
static func formatPlural(_ pattern: String, arguments: [String: Any], locale: Locale = Locale.current) -> String {
61-
// Convert arguments dictionary to format expected by MessageFormatter
62-
var formattedArgs: [String: Any] = [:]
63-
var argumentArray: [Any] = []
64-
var argumentNames: [String] = []
65-
66-
// Extract argument names and values, maintaining order
67-
for (key, value) in arguments {
68-
formattedArgs[key] = value
69-
argumentNames.append(key)
70-
argumentArray.append(value)
71-
}
72-
7361
return formatterPlural(pattern, arguments: arguments)
7462
}
7563

Bitkit/Views/Wallets/Activity/ActivityExplorerView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ struct ActivityExplorerView: View {
4343
txDetails = details
4444
}
4545
} catch {
46-
await MainActor.run {}
46+
Logger.warn("Failed to load transaction details: \(error)")
4747
}
4848
}
4949

0 commit comments

Comments
 (0)