diff --git a/package.json b/package.json index e3fa251b6..ee7ec1aab 100644 --- a/package.json +++ b/package.json @@ -188,7 +188,7 @@ "yarn": "^1.3" }, "lbrySettings": { - "lbrynetDaemonVersion": "0.37.0rc5", + "lbrynetDaemonVersion": "0.37.0rc6", "lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip", "lbrynetDaemonDir": "static/daemon", "lbrynetDaemonFileName": "lbrynet" diff --git a/src/ui/modal/modalPhoneCollection/view.jsx b/src/ui/modal/modalPhoneCollection/view.jsx index bf2db9d62..f84c96216 100644 --- a/src/ui/modal/modalPhoneCollection/view.jsx +++ b/src/ui/modal/modalPhoneCollection/view.jsx @@ -3,7 +3,7 @@ import React, { Suspense } from 'react'; import { Modal } from 'modal/modal'; import Button from 'component/button'; import UserPhoneVerify from 'component/userPhoneVerify'; -import { withRouter } from 'react-router-dom'; +import { Redirect } from 'react-router'; const LazyUserPhoneNew = React.lazy(() => import(/* webpackChunkName: "userPhoneNew" */ @@ -13,7 +13,7 @@ const LazyUserPhoneNew = React.lazy(() => type Props = { phone: ?number, user: { - phone_number: ?number, + is_identity_verified: boolean, }, closeModal: () => void, history: { push: string => void }, @@ -23,29 +23,30 @@ class ModalPhoneCollection extends React.PureComponent { getTitle() { const { user, phone } = this.props; - if (!user.phone_number && !phone) { + if (!user.is_identity_verified && !phone) { return __('Enter Your Phone Number'); } + return __('Enter The Verification Code'); } renderInner() { - const { closeModal, phone, user, history } = this.props; + const { closeModal, phone, user } = this.props; const cancelButton =