Skip to content

Commit 326d182

Browse files
committed
fix: iOS spotlight disable on android
1 parent cf94144 commit 326d182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/branch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Branch.prototype.createBranchUniversalObject = function (options) {
153153
}
154154

155155
obj.listOnSpotlight = function () {
156-
if (deviceVendor.indexOf('Apple') < 0) {
156+
if (!(deviceVendor.indexOf('Apple') < 0)) {
157157
return execute('listOnSpotlight', [obj.instanceId])
158158
} else {
159159
return new Promise(function (resolve, reject) {

0 commit comments

Comments
 (0)