Skip to content

Commit 1dc41cc

Browse files
committed
🐛 Fix a bug where the app crashes because of incompatible types
1 parent 859880b commit 1dc41cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/IBGPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public boolean execute(final String action, JSONArray args, final CallbackContex
185185
showFeatureRequests(callbackContext);
186186

187187
} else if ("setShouldShowSurveysWelcomeScreen".equals(action)) {
188-
setShouldShowSurveysWelcomeScreen(callbackContext, args.optInt(0));
188+
setShouldShowSurveysWelcomeScreen(callbackContext, args.optBoolean(0));
189189

190190
} else {
191191
// Method not found.

0 commit comments

Comments
 (0)