Skip to content

Commit 81792d8

Browse files
committed
Merge pull request #8 from lewis-smith/master
https://github.com/KeepSafe/Switchboard/issues/6
2 parents b9ef48a + 84d3e49 commit 81792d8

File tree

1 file changed

+5
-1
lines changed
  • client/ios/SwitchboardSample/SwitchboardSample/Switchboard

1 file changed

+5
-1
lines changed

client/ios/SwitchboardSample/SwitchboardSample/Switchboard/Switchboard.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,11 @@ - (void) downloadConfiguration:(NSString*)uuid {
263263
[params setObject:uuid forKey:@"uuid"];
264264
[params setObject:device forKey:@"device"];
265265
[params setObject:language forKey:@"lang"];
266-
[params setObject:country forKey:@"country"];
266+
267+
if (country != nil) {
268+
[params setObject:country forKey:@"country"];
269+
}
270+
267271
[params setObject:manufacturer forKey:@"manufacturer"];
268272
[params setObject:packageName forKey:@"appId"];
269273
[params setObject:versionName forKey:@"version"];

0 commit comments

Comments
 (0)