Skip to content

Commit

Permalink
Merge pull request #78 from OneSignal/fix/dictToNSDictValues
Browse files Browse the repository at this point in the history
[Fix] DictToNSDict string values
  • Loading branch information
emawby authored Jan 11, 2024
2 parents 046bdef + 5c569d5 commit ae82af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OneSignalSDK.DotNet.iOS/Utilities/ToNativeConversion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static NSDictionary<NSString, NSString> DictToNSDict(IDictionary<string,
foreach (var entry in dict)
{
keys[index] = NSString.FromData(entry.Key, NSStringEncoding.UTF8);
values[index] = NSString.FromData(entry.Key, NSStringEncoding.UTF8);
values[index] = NSString.FromData(entry.Value, NSStringEncoding.UTF8);
index++;
}

Expand Down

0 comments on commit ae82af4

Please sign in to comment.