Skip to content

Commit 5f6aa90

Browse files
committed
🔥 Remove setPrimaryColor() from android
1 parent 43a4662 commit 5f6aa90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,9 @@ module.exports = {
323323
* @param {color} primaryColor A color to set the UI elements of the SDK to.
324324
*/
325325
setPrimaryColor: function (primaryColor) {
326-
Instabug.setPrimaryColor(primaryColor);
326+
if(Platform.OS == "ios") {
327+
Instabug.setPrimaryColor(primaryColor);
328+
}
327329
},
328330

329331
/**

0 commit comments

Comments
 (0)