From a0ace5ca5818c7674f3b7ac2b9ed59ddaac845c1 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 2 Jun 2020 12:32:58 -0400 Subject: [PATCH] add refresh icon to refresh buttons --- custom/homepage.example.js | 2 +- ui/component/common/icon-custom.jsx | 7 ++++ ui/component/splash/view.jsx | 16 +++++++-- ui/component/txoList/view.jsx | 3 +- ui/component/userVerify/view.jsx | 4 ++- ui/page/fileListPublished/view.jsx | 55 +++++++++++++++-------------- 6 files changed, 56 insertions(+), 31 deletions(-) diff --git a/custom/homepage.example.js b/custom/homepage.example.js index 0f8db1a5a..d81c90866 100644 --- a/custom/homepage.example.js +++ b/custom/homepage.example.js @@ -71,7 +71,7 @@ type RowDataItem = { }; export default function getHomePageRowData( - authenticated, + authenticated: boolean, showPersonalizedChannels: boolean, showPersonalizedTags: boolean, subscribedChannels: Array, diff --git a/ui/component/common/icon-custom.jsx b/ui/component/common/icon-custom.jsx index 2468dc630..a1da0dc19 100644 --- a/ui/component/common/icon-custom.jsx +++ b/ui/component/common/icon-custom.jsx @@ -634,4 +634,11 @@ export const icons = { ), + [ICONS.REFRESH]: buildIcon( + + + + {' '} + + ), }; diff --git a/ui/component/splash/view.jsx b/ui/component/splash/view.jsx index 23084f814..bc7723265 100644 --- a/ui/component/splash/view.jsx +++ b/ui/component/splash/view.jsx @@ -2,6 +2,7 @@ import type { Node } from 'react'; import * as MODALS from 'constants/modal_types'; import * as SETTINGS from 'constants/settings'; +import * as ICONS from 'constants/icons'; import React from 'react'; import { Lbry } from 'lbry-redux'; import Button from 'component/button'; @@ -307,7 +308,11 @@ export default class SplashScreen extends React.PureComponent { +