diff --git a/ui/js/component/link/index.js b/ui/js/component/link/index.js index f8134f7ff..5847c97d9 100644 --- a/ui/js/component/link/index.js +++ b/ui/js/component/link/index.js @@ -1,6 +1,6 @@ import React from "react"; import { connect } from "react-redux"; -import { doNavigate } from "actions/app"; +import { doNavigate } from "actions/navigation"; import Link from "./view"; const perform = dispatch => ({ diff --git a/ui/js/component/rewardSummary/index.js b/ui/js/component/rewardSummary/index.js index 390395472..dac44f34f 100644 --- a/ui/js/component/rewardSummary/index.js +++ b/ui/js/component/rewardSummary/index.js @@ -1,6 +1,5 @@ import React from "react"; import { connect } from "react-redux"; -import { doNavigate } from "actions/app"; import { selectUnclaimedRewardValue } from "selectors/rewards"; import RewardSummary from "./view"; diff --git a/ui/js/component/router/view.jsx b/ui/js/component/router/view.jsx index db114b861..d5ff60a81 100644 --- a/ui/js/component/router/view.jsx +++ b/ui/js/component/router/view.jsx @@ -2,7 +2,6 @@ import React from "react"; import SettingsPage from "page/settings"; import HelpPage from "page/help"; import ReportPage from "page/report.js"; -import StartPage from "page/start.js"; import WalletPage from "page/wallet"; import ReceiveCreditsPage from "page/receiveCredits"; import SendCreditsPage from "page/sendCredits"; @@ -48,7 +47,6 @@ const Router = props => { send: , settings: , show: , - start: , wallet: , }); }; diff --git a/ui/js/main.js b/ui/js/main.js index 7dadc22b8..e8a3221a0 100644 --- a/ui/js/main.js +++ b/ui/js/main.js @@ -70,13 +70,6 @@ win.on("focus", () => { dock.setBadge(""); }); -const updateProgress = () => { - const state = app.store.getState(); - const progress = selectTotalDownloadProgress(state); - - win.setProgressBar(progress || -1); -}; - const initialState = app.store.getState(); var init = function() { diff --git a/ui/js/modal/modalRewardApprovalRequired/index.js b/ui/js/modal/modalRewardApprovalRequired/index.js index c42c54a83..15413b6e3 100644 --- a/ui/js/modal/modalRewardApprovalRequired/index.js +++ b/ui/js/modal/modalRewardApprovalRequired/index.js @@ -1,6 +1,7 @@ import React from "react"; import { connect } from "react-redux"; -import { doCloseModal, doAuthNavigate } from "actions/app"; +import { doCloseModal } from "actions/app"; +import { doAuthNavigate } from "actions/navigation"; import ModalRewardApprovalRequired from "./view"; const perform = dispatch => ({ diff --git a/ui/js/page/start.js b/ui/js/page/start.js deleted file mode 100644 index 41a796c2c..000000000 --- a/ui/js/page/start.js +++ /dev/null @@ -1,19 +0,0 @@ -import React from "react"; -import lbry from "../lbry.js"; - -class StartPage extends React.PureComponent { - componentWillMount() { - lbry.stop(); - } - - render() { - return ( -
-

{__("LBRY is Closed")}

- -
- ); - } -} - -export default StartPage; diff --git a/ui/js/selectors/navigation.js b/ui/js/selectors/navigation.js index 16e1c53f9..576d950d3 100644 --- a/ui/js/selectors/navigation.js +++ b/ui/js/selectors/navigation.js @@ -71,8 +71,6 @@ export const selectPageTitle = createSelector( return __("Backup"); case "rewards": return __("Rewards"); - case "start": - return __("Start"); case "publish": return __("Publish"); case "help": diff --git a/ui/js/selectors/search.js b/ui/js/selectors/search.js index 457126597..e3c6fbb4a 100644 --- a/ui/js/selectors/search.js +++ b/ui/js/selectors/search.js @@ -52,8 +52,6 @@ export const selectWunderBarIcon = createSelector(selectCurrentPage, page => { return "icon-folder"; case "published": return "icon-folder"; - case "start": - return "icon-file"; case "history": return "icon-history"; case "send": diff --git a/ui/scss/component/_video.scss b/ui/scss/component/_video.scss index 5515cbf8a..61143a2dd 100644 --- a/ui/scss/component/_video.scss +++ b/ui/scss/component/_video.scss @@ -1,3 +1,5 @@ +@import "../global"; + video { object-fit: contain; box-sizing: border-box;