Skip to content

Commit

Permalink
Re-enable Video block on Android after Android X migration (#16215)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloercoli authored and marecar3 committed Jul 10, 2019
1 parent 1b5fc6a commit 204d849
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/edit-post/src/index.native.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/**
* External dependencies
*/
import { Platform } from 'react-native';

/**
* WordPress dependencies
*/
Expand Down Expand Up @@ -36,11 +31,6 @@ export function initializeEditor() {
// eslint-disable-next-line no-undef
if ( typeof __DEV__ === 'undefined' || ! __DEV__ ) {
unregisterBlockType( 'core/code' );

// Disable Video block except for iOS for now.
if ( Platform.OS !== 'ios' ) {
unregisterBlockType( 'core/video' );
}
}

blocksRegistered = true;
Expand Down

0 comments on commit 204d849

Please sign in to comment.