Skip to content

Commit 204d849

Browse files
daniloercolimarecar3
authored andcommitted
Re-enable Video block on Android after Android X migration (#16215)
1 parent 1b5fc6a commit 204d849

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packages/edit-post/src/index.native.js

-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/**
2-
* External dependencies
3-
*/
4-
import { Platform } from 'react-native';
5-
61
/**
72
* WordPress dependencies
83
*/
@@ -36,11 +31,6 @@ export function initializeEditor() {
3631
// eslint-disable-next-line no-undef
3732
if ( typeof __DEV__ === 'undefined' || ! __DEV__ ) {
3833
unregisterBlockType( 'core/code' );
39-
40-
// Disable Video block except for iOS for now.
41-
if ( Platform.OS !== 'ios' ) {
42-
unregisterBlockType( 'core/video' );
43-
}
4434
}
4535

4636
blocksRegistered = true;

0 commit comments

Comments
 (0)