diff --git a/android b/android index ea8ac78..bfd3c71 160000 --- a/android +++ b/android @@ -1 +1 @@ -Subproject commit ea8ac783a8b05db8ab78472efc3fff32dc6869e6 +Subproject commit bfd3c711abc4f693dbb68b06fdfce67036b1e4a3 diff --git a/src/component/modalRepostView/index.js b/src/component/modalRepostView/index.js new file mode 100644 index 0000000..434e530 --- /dev/null +++ b/src/component/modalRepostView/index.js @@ -0,0 +1,15 @@ +import { connect } from 'react-redux'; +import { doSendTip, doToast, selectBalance } from 'lbry-redux'; +import ModalRepostView from './view'; + +const select = state => ({ + balance: selectBalance(state), +}); + +const perform = dispatch => ({ + notify: data => dispatch(doToast(data)), + sendTip: (amount, claimId, isSupport, successCallback, errorCallback) => + dispatch(doSendTip(amount, claimId, isSupport, successCallback, errorCallback)), +}); + +export default connect(select, perform)(ModalRepostView); diff --git a/src/component/modalRepostView/view.js b/src/component/modalRepostView/view.js new file mode 100644 index 0000000..f151a74 --- /dev/null +++ b/src/component/modalRepostView/view.js @@ -0,0 +1,14 @@ +import React from 'react'; +import { ActivityIndicator, Alert, Text, TextInput, TouchableOpacity, View } from 'react-native'; +import { formatCredits } from 'lbry-redux'; +import modalStyle from 'styles/modal'; +import modalTipStyle from 'styles/modalTip'; +import Button from 'component/button'; +import Colors from 'styles/colors'; +import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api +import Icon from 'react-native-vector-icons/FontAwesome5'; +import Link from 'component/link'; + +export default class ModalRepostView extends React.PureComponent { + render() {} +}