From 5f61aecbcabb031fc96614bfc7c25dcf1cf94924 Mon Sep 17 00:00:00 2001 From: ashiagr Date: Fri, 31 Jan 2020 10:04:36 +0530 Subject: [PATCH] Undo enable media button for android --- .vscode/launch.json | 14 -------------- react-native-gutenberg-bridge/index.js | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 7962e3c84b..27c9545b33 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,20 +4,6 @@ // 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}", diff --git a/react-native-gutenberg-bridge/index.js b/react-native-gutenberg-bridge/index.js index 5b35cea522..f8ff33fc1b 100644 --- a/react-native-gutenberg-bridge/index.js +++ b/react-native-gutenberg-bridge/index.js @@ -16,7 +16,7 @@ export const mediaSources = { siteMediaLibrary: 'SITE_MEDIA_LIBRARY', }; -export const showMediaEditorButton = true; +export const showMediaEditorButton = isIOS; // Console polyfill from react-native