Commit 89477f1e authored by Chris Wiggins's avatar Chris Wiggins
Browse files

Remove trailing comma for foreground flag and convert to double quotes

parent 80735f0a
Loading
Loading
Loading
Loading
+2 −2
Changes for src/ios/PushPlugin.m: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -164,11 +164,11 @@

        if (isInline)
        {
            [jsonStr appendFormat:@"foreground:'%d',", 1];
            [jsonStr appendFormat:@"foreground:\"%d\"", 1];
            isInline = NO;
        }
		else
            [jsonStr appendFormat:@"foreground:'%d',", 0];
            [jsonStr appendFormat:@"foreground:\"%d\"", 0];
        
        [jsonStr appendString:@"}"];