diff --git a/packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java b/packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java index 12483bed00307b..7fbd73290d6241 100644 --- a/packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java +++ b/packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java @@ -114,6 +114,7 @@ public class WPAndroidGlueCode { public static final String PROP_NAME_CAPABILITIES_UNSUPPORTED_BLOCK_EDITOR = "unsupportedBlockEditor"; private static final String PROP_NAME_COLORS = "colors"; private static final String PROP_NAME_GRADIENTS = "gradients"; + private static final String PROP_NAME_MODAL_LAYOUT_PICKER = "modalLayoutPicker"; private static OkHttpHeaderInterceptor sAddCookiesInterceptor = new OkHttpHeaderInterceptor(); private static OkHttpClient sOkHttpClient = new OkHttpClient.Builder().addInterceptor(sAddCookiesInterceptor).build(); @@ -434,7 +435,8 @@ public void onCreateView(Context initContext, @Nullable Boolean isSiteUsingWpComRestApi, @Nullable Bundle editorTheme, boolean isUnsupportedBlockEditorEnabled, - boolean enableMentionsFlag) { + boolean enableMentionsFlag, + boolean isModalLayoutPickerEnabled) { mIsDarkMode = isDarkMode; mExceptionLogger = exceptionLogger; mBreadcrumbLogger = breadcrumbLogger; @@ -472,6 +474,7 @@ public void onCreateView(Context initContext, capabilities.putBoolean(PROP_NAME_CAPABILITIES_MENTIONS, isSiteUsingWpComRestApi && enableMentionsFlag); } capabilities.putBoolean(PROP_NAME_CAPABILITIES_UNSUPPORTED_BLOCK_EDITOR, isUnsupportedBlockEditorEnabled); + capabilities.putBoolean(PROP_NAME_MODAL_LAYOUT_PICKER, isModalLayoutPickerEnabled); initialProps.putBundle(PROP_NAME_CAPABILITIES, capabilities); Serializable colors = editorTheme != null ? editorTheme.getSerializable(PROP_NAME_COLORS) : null;