Skip to content

Commit

Permalink
fix: iOS spotlight disable on android
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Mar 7, 2017
1 parent cf94144 commit 326d182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/branch.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Branch.prototype.createBranchUniversalObject = function (options) {
}

obj.listOnSpotlight = function () {
if (deviceVendor.indexOf('Apple') < 0) {
if (!(deviceVendor.indexOf('Apple') < 0)) {
return execute('listOnSpotlight', [obj.instanceId])
} else {
return new Promise(function (resolve, reject) {
Expand Down

0 comments on commit 326d182

Please sign in to comment.