mirror of
https://github.com/LBRYFoundation/lbry-android.git
synced 2025-09-03 20:35:12 +00:00
* add reveal password icon and more UI tweaks * navigation workaround. more UI updates and tweaks. * update control colours. fix search. * optimise launcher icon. file page style tweak. * optimise media player buffer values
24 lines
874 B
JavaScript
24 lines
874 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
doFetchTransactions,
|
|
selectTransactionItems,
|
|
selectIsFetchingTransactions,
|
|
} from 'lbry-redux';
|
|
import { doPushDrawerStack, doSetPlayerVisible } from 'redux/actions/drawer';
|
|
import { selectCurrentRoute } from 'redux/selectors/drawer';
|
|
import Constants from 'constants';
|
|
import TransactionHistoryPage from './view';
|
|
|
|
const select = state => ({
|
|
currentRoute: selectCurrentRoute(state),
|
|
fetchingTransactions: selectIsFetchingTransactions(state),
|
|
transactions: selectTransactionItems(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
fetchTransactions: () => dispatch(doFetchTransactions()),
|
|
pushDrawerStack: () => dispatch(doPushDrawerStack(Constants.DRAWER_ROUTE_TRANSACTION_HISTORY)),
|
|
setPlayerVisible: () => dispatch(doSetPlayerVisible(false))
|
|
});
|
|
|
|
export default connect(select, perform)(TransactionHistoryPage);
|