Skip to content

Commit

Permalink
Enable media editor button for android
Browse files Browse the repository at this point in the history
  • Loading branch information
ashiagr committed Jan 30, 2020
1 parent 33974b5 commit 6253079
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug iOS",
"cwd": "${workspaceFolder}",
"type": "reactnative",
"request": "launch",
"platform": "ios"
},
{
"name": "Debug Android",
"cwd": "${workspaceFolder}",
"type": "reactnative",
"request": "launch",
"platform": "android"
},
{
"name": "Attach to packager",
"cwd": "${workspaceFolder}",
Expand Down
2 changes: 1 addition & 1 deletion react-native-gutenberg-bridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const mediaSources = {
siteMediaLibrary: 'SITE_MEDIA_LIBRARY',
};

export const showMediaEditorButton = isIOS;
export const showMediaEditorButton = true;

// Console polyfill from react-native

Expand Down

0 comments on commit 6253079

Please sign in to comment.