Skip to content

Commit

Permalink
One more..
Browse files Browse the repository at this point in the history
  • Loading branch information
robertherber committed Dec 8, 2024
1 parent 9a7e16c commit 4b126db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/ReactNativeDeviceActivityModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public class ReactNativeDeviceActivityModule: Module {
}

let filteredDict = actualDict.filter({ (key: String, _: Any) in
return key.starts(with: activityName == nil ? "events_" : "events_\(activityName!)#")
return key.starts(with: activityName == nil ? "events_" : "events_\(activityName!)_")
}).reduce(into: [:]) { (result, element) in
let (key, value) = element
result[key] = value as? NSNumber // Add key-value pair to the result dictionary
Expand Down

0 comments on commit 4b126db

Please sign in to comment.