diff --git a/ui/component/abandonedChannelPreview/view.jsx b/ui/component/abandonedChannelPreview/view.jsx index 11cb6c033..bc2430392 100644 --- a/ui/component/abandonedChannelPreview/view.jsx +++ b/ui/component/abandonedChannelPreview/view.jsx @@ -22,12 +22,7 @@ function AbandonedChannelPreview(props: Props) { const { channelName } = parseURI(uri); return ( -
  • +
  • @@ -35,11 +30,11 @@ function AbandonedChannelPreview(props: Props) {
    {channelName}
    -
    {`This channel may have been abandoned.`}
    +
    {__(`This channel may have been unpublished.`)}
    + {/* SubscribeButton uses resolved permanentUri; modifying it didn't seem worth it. */}
    -
    diff --git a/ui/component/splash/view.jsx b/ui/component/splash/view.jsx index 422a49b07..d29713ed2 100644 --- a/ui/component/splash/view.jsx +++ b/ui/component/splash/view.jsx @@ -51,7 +51,7 @@ export default class SplashScreen extends React.PureComponent { message: __('Connecting'), launchedModal: false, error: false, - launchWithIncompatibleDaemon: false, + launchWithIncompatibleDaemon: !process.env.NODE_ENV === 'production', isRunning: false, waitingForWallet: 0, }; diff --git a/ui/page/channelsFollowingManage/view.jsx b/ui/page/channelsFollowingManage/view.jsx index de83a0555..439fc8106 100644 --- a/ui/page/channelsFollowingManage/view.jsx +++ b/ui/page/channelsFollowingManage/view.jsx @@ -38,7 +38,7 @@ function ChannelsFollowingManagePage(props: Props) { return ( { // Avoid the incompatible daemon modal if running in dev mode // Lets you run a different daemon than the one specified in package.json - if (config.lbrynetDaemonVersion === lbrynetVersion) { + if (config.lbrynetDaemonVersion === lbrynetVersion || process.env.NODE_ENV !== 'production') { return dispatch({ type: ACTIONS.DAEMON_VERSION_MATCH, }); @@ -271,8 +271,9 @@ export function doCheckDaemonVersion() { dispatch({ type: ACTIONS.DAEMON_VERSION_MISMATCH, }); - - return dispatch(doOpenModal(MODALS.INCOMPATIBLE_DAEMON)); + if (process.env.NODE_ENV === 'production') { + return dispatch(doOpenModal(MODALS.INCOMPATIBLE_DAEMON)); + } }); // @endif // @if TARGET='web' diff --git a/ui/scss/component/_claim-list.scss b/ui/scss/component/_claim-list.scss index 8e3df7f33..beabfe8c3 100644 --- a/ui/scss/component/_claim-list.scss +++ b/ui/scss/component/_claim-list.scss @@ -69,6 +69,10 @@ background-color: var(--color-card-background-highlighted); } +.claim-preview__wrapper--notice { + background-color: var(--color-notice); +} + .claim-preview__wrapper--inline { padding: 0; } diff --git a/ui/scss/themes/dark.scss b/ui/scss/themes/dark.scss index e6a38127c..fb65af542 100644 --- a/ui/scss/themes/dark.scss +++ b/ui/scss/themes/dark.scss @@ -38,6 +38,7 @@ --color-modal-background: var(--color-header-background); --color-comment-menu: #6a6a6a; --color-comment-menu-hovering: #e0e0e0; + --color-notice: #58563b; // Text --color-text: #eeeeee; diff --git a/ui/scss/themes/light.scss b/ui/scss/themes/light.scss index 9b78f2cd9..527921def 100644 --- a/ui/scss/themes/light.scss +++ b/ui/scss/themes/light.scss @@ -14,6 +14,7 @@ --color-error: #fcafca; --color-comment-menu: #e0e0e0; --color-comment-menu-hovering: #6a6a6a; + --color-notice: #fef3ca; // Text --color-text-selection-bg: var(--color-secondary-alt);