Commit 23fbcedd authored by Trisno's avatar Trisno

add string toast

parent c3be05ee
......@@ -8,6 +8,7 @@ import { getStatusBarHeight } from 'react-native-status-bar-height';
import MyStatusBar from './MyStatusBar';
import { connect } from 'react-redux';
import Toast from 'react-native-tiny-toast';
import i18n from 'i18n-js';
class TopUpInfo extends React.Component {
......@@ -66,7 +67,7 @@ class TopUpInfo extends React.Component {
onLinkPress={(event, href) => {
// console.log(href.replace('http://',''))
Clipboard.setString(href.replace('http://',''))
Toast.show('Copied To Clipboard')
Toast.show(i18n.t('copyToClipboard'))
}} />
</CollapseBody>
</Collapse>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment