Skip to content

Commit d34dfc3

Browse files
committed
Fix typo in setPrimaryColor API
1 parent 45ddbde commit d34dfc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/Instabug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Instabug.show = function (success, error) {
104104
* @param {function(string):void} error callback on function error
105105
*/
106106
Instabug.setPrimaryColor = function (color, success, error) {
107-
exec(success, error, 'IBGPlugin', 'setPrimaryColor', [colorInteger]);
107+
exec(success, error, 'IBGPlugin', 'setPrimaryColor', [color]);
108108
};
109109

110110
/**

0 commit comments

Comments
 (0)