Skip to content

Commit 2b84747

Browse files
committed
chore(refactor): check native elig through config
1 parent 9cc6304 commit 2b84747

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: src/zoid/buttons/util.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,11 @@ export function getVenmoExperiment(): EligibilityExperiment {
157157
const enableFunding = getEnableFunding();
158158
const isVenmoFundingEnabled =
159159
enableFunding && enableFunding.indexOf(FUNDING.VENMO) !== -1;
160-
const isNativeSupported = isSupportedNativeBrowser();
161160
const isExperimentEnabled = experiment && experiment.isEnabled();
162161

163162
if (isDevice()) {
164163
return {
165-
enableVenmo: Boolean(
166-
(isExperimentEnabled || isVenmoFundingEnabled) && isNativeSupported
167-
),
164+
enableVenmo: Boolean(isExperimentEnabled || isVenmoFundingEnabled),
168165
};
169166
} else {
170167
return {

0 commit comments

Comments
 (0)