Skip to content

Commit 9b43535

Browse files
authored
Merge pull request #158 from Instabug/fix/set-primary-color
[MOB-9117] Fix typo in Instabug.setPrimaryColor
2 parents 2b93a47 + 4cf6d87 commit 9b43535

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## master
2+
3+
* Fixes a typo in Instabug.setPrimaryColor causing the API not to work
4+
15
## v11.0.0 (2022-07-07)
26

37
* Bumps Instabug native SDKs to v11

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)