Skip to content

Commit

Permalink
[RNMobile] Native mobile release v1.9.0 (#16522)
Browse files Browse the repository at this point in the history
  • Loading branch information
marecar3 authored Jul 12, 2019
1 parent 174b8f2 commit cf1da64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/video/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ class VideoEdit extends React.Component {
value={ caption }
placeholder={ __( 'Write caption…' ) }
onChangeText={ ( newCaption ) => setAttributes( { caption: newCaption } ) }
onFocus={ this.props.onFocus }
/>
</View>
) }
Expand Down
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 cf1da64

Please sign in to comment.