diff --git a/electron/index.js b/electron/index.js index 4834f989c..16a613f5f 100644 --- a/electron/index.js +++ b/electron/index.js @@ -93,6 +93,7 @@ let isLbryFirstRunning = false; const startLbryFirst = async () => { if (isLbryFirstRunning) { console.log('LbryFirst already running'); + handleLbryFirstLaunched(); return; } diff --git a/package.json b/package.json index 3e9b46b8c..ff28b0cee 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "imagesloaded": "^4.1.4", "json-loader": "^0.5.4", "lbry-format": "https://github.com/lbryio/lbry-format.git", - "lbry-redux": "lbryio/lbry-redux#31647e4ee7371ca05a9fa13b3ac3f5b4a794383d", + "lbry-redux": "lbryio/lbry-redux#e6d89b06909b7f3a280e25625669f64ce06f340d", "lbryinc": "lbryio/lbryinc#cff5dd60934c4c6080e135f47ebbece1548c658c", "lint-staged": "^7.0.2", "localforage": "^1.7.1", diff --git a/static/app-strings.json b/static/app-strings.json index 9261b8b0c..97bbb1dbf 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1274,5 +1274,8 @@ "Sign In With YouTube": "Sign In With YouTube", "There was an error with LBRY first publishing.": "There was an error with LBRY first publishing.", "Automagically upload to your youtube channel.": "Automagically upload to your youtube channel.", + "Your publish on LBRY was successful, but uploading to YouTube Failed.": "Your publish on LBRY was successful, but uploading to YouTube Failed.", + "Your publish on LBRY was successful, but the YouTube upload failed.": "Your publish on LBRY was successful, but the YouTube upload failed.", + "Your file was published to LBRY, but the YouTube upload failed.": "Your file was published to LBRY, but the YouTube upload failed.", "--end--": "--end--" } diff --git a/ui/modal/modalPublish/view.jsx b/ui/modal/modalPublish/view.jsx index 17d24e0d1..6dd868fb0 100644 --- a/ui/modal/modalPublish/view.jsx +++ b/ui/modal/modalPublish/view.jsx @@ -4,6 +4,7 @@ import { Modal } from 'modal/modal'; import ClaimPreview from 'component/claimPreview'; import Button from 'component/button'; import Card from 'component/common/card'; +import Nag from 'component/common/nag'; type Props = { closeModal: () => void, @@ -12,11 +13,12 @@ type Props = { uri: string, isEdit: boolean, filePath: ?string, + lbryFirstError: ?string, }; class ModalPublishSuccess extends React.PureComponent { render() { - const { closeModal, clearPublish, navigate, uri, isEdit, filePath } = this.props; + const { closeModal, clearPublish, navigate, uri, isEdit, filePath, lbryFirstError } = this.props; const contentLabel = isEdit ? __('Update published') : __('File published'); const publishMessage = isEdit ? __('Your update is now pending on LBRY. It will take a few minutes to appear for other users.') @@ -63,6 +65,21 @@ class ModalPublishSuccess extends React.PureComponent {