created dropdown button & transfer routing created

This commit is contained in:
u-e 2019-06-14 00:32:48 +03:00
parent eb54a52737
commit 792f85795b
81 changed files with 296 additions and 237 deletions

View File

@ -5,6 +5,7 @@ import get from 'lodash/get';
// Services and Actions
import { getUser, getUserPoints, claim } from '../../../providers/esteem/ePoint';
import { openPinCodeModal } from '../../../redux/actions/applicationActions';
// Constant
import POINTS from '../../../constants/options/points';
@ -59,6 +60,17 @@ class PointsContainer extends Component {
// Component Functions
_handleOnPressTransfer = () => {
const { dispatch } = this.props;
dispatch(
openPinCodeModal({
navigateTo: ROUTES.SCREENS.TRANSFER,
navigateParams: { transferType: '', fundType: '', balance: '' },
}),
);
};
_groomUserActivities = userActivities =>
userActivities.map(item => ({
...item,
@ -138,6 +150,7 @@ class PointsContainer extends Component {
refreshing={refreshing}
userActivities={userActivities}
userPoints={userPoints}
handleOnPressTransfer={this._handleOnPressTransfer}
/>
);
}

View File

@ -9,6 +9,29 @@ export default EStyleSheet.create({
alignSelf: 'center',
fontWeight: 'bold',
},
pointsWrapper: {
flexDirection: 'row',
justifyContent: 'center',
alignSelf: 'center',
flex: 1,
},
dropdownWrapper: {
flex: 1,
},
dropdownRowText: {
fontSize: 14,
color: '$primaryDarkGray',
},
dropdownStyle: {
minWidth: '$deviceWidth * 0.7',
},
dropdownButtonStyle: {
justifyContent: 'center',
alignSelf: 'center',
position: 'absolute',
right: -40,
top: 20,
},
subText: {
color: '$darkIconColor',
fontSize: 8,

View File

@ -9,6 +9,7 @@ import { LineBreak, WalletLineItem, ListPlaceHolder } from '../../basicUIElement
import { IconButton } from '../../iconButton';
import { Icon } from '../../icon';
import { MainButton } from '../../mainButton';
import { DropdownButton } from '../../dropdownButton';
// Utils
import { getTimeFromNow } from '../../../utils/time';
@ -70,13 +71,31 @@ class PointsView extends Component {
};
render() {
const { claimPoints, isClaiming, userActivities, userPoints } = this.props;
const {
claimPoints,
isClaiming,
userActivities,
userPoints,
handleOnPressTransfer,
} = this.props;
return (
<Fragment>
<LineBreak height={12} />
<ScrollView style={styles.scrollContainer} refreshControl={this.refreshControl()}>
<Text style={styles.pointText}>{get(userPoints, 'points')}</Text>
<View style={styles.pointsWrapper}>
<Text style={styles.pointText}>{get(userPoints, 'points')}</Text>
<DropdownButton
isHasChildIcon
iconName="arrow-drop-down"
options={['Transfer']}
noHighlight
dropdownButtonStyle={styles.dropdownButtonStyle}
onSelect={handleOnPressTransfer}
rowTextStyle={styles.dropdownRowText}
dropdownStyle={styles.dropdownStyle}
/>
</View>
<Text style={styles.subText}>eSteem Points</Text>
{get(userPoints, 'unclaimed_points') > 0 && (
<MainButton

View File

@ -31,8 +31,8 @@ class WalletDetailsView extends PureComponent {
render() {
const { walletData, intl, navigate, isShowDropdowns } = this.props;
const steemDropdown = ['transferToken', 'transferToSaving', 'powerUp'];
const sbdDropdown = ['transferToken', 'transferToSaving'];
const steemDropdown = ['transfer_token', 'transfer_to_saving', 'powerUp'];
const sbdDropdown = ['transfer_token', 'transfer_to_saving'];
return (
<View style={styles.container}>

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "هذه المذكرة عامة",
"to_placeholder": "إسم المستخدم",
"memo_placeholder": "أدخل ملاحظاتك هنا",
"transferToken": "تحويل",
"transferToSaving": "النقل إلى المدخرات",
"transfer_token": "تحويل",
"transfer_to_saving": "النقل إلى المدخرات",
"powerUp": "رفع الطاقة",
"withdrawToSaving": "سحب إلى الادخار",
"withdraw_to_saving": "سحب إلى الادخار",
"steemconnect_title": "نقل Steemconnect",
"next": "التالي"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Bu qeyd ictimaidir",
"to_placeholder": "İstifadəçi adı",
"memo_placeholder": "Qeydlərinizi buraya daxil edin",
"transferToken": "Köçürmə",
"transferToSaving": "Yığımlara Köçürmə",
"transfer_token": "Köçürmə",
"transfer_to_saving": "Yığımlara Köçürmə",
"powerUp": "Gücü artır",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Köçürməsi",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -38,6 +38,8 @@
"vote": "Vote",
"reblog": "Reblog",
"login": "Login",
"incoming_transfer_title": "Incoming transfer",
"outgoing_transfer_title": "Outgoing transfer",
"checkin_extra": "Bonus",
"delegation": "Delegation",
"delegation_title": "Delegation reward",
@ -50,6 +52,8 @@
"checkin_title": "Points for usage",
"checkin_extra_title": "Usage bonus",
"no_activity": "No activity here!",
"outgoing_transfer_description": "",
"incoming_transfer_description": "",
"post_desc": "You can earn point by posting regularly. Posting gives you 15 points.",
"comment_desc": "Each comment you make helps you to grow your audience and make friendship but also earns you 5 points.",
"checkin_desc": "Checking in on eSteem app gives you 0.25 points and helps you stay connected with your friends.",
@ -278,10 +282,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "این یادداشت عمومی است",
"to_placeholder": "نام کاربری",
"memo_placeholder": "یادداشت های خود را در اینجا وارد کنید",
"transferToken": "انتقال",
"transferToSaving": "انتقال به پس انداز",
"transfer_token": "انتقال",
"transfer_to_saving": "انتقال به پس انداز",
"powerUp": "بالا بردن قدرت",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "انتقال Steemconnect",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Ce mémo est public",
"to_placeholder": "Nom d'utilisateur",
"memo_placeholder": "Entrez vos notes ici",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Transfert Steemconnect",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Atgagganamo",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "यह ज्ञापन सार्वजनिक है",
"to_placeholder": "प्रयोक्ता नाम",
"memo_placeholder": "अपनी टिप्पणी यहाँ लिखें",
"transferToken": "स्थान्तरण",
"transferToSaving": "बचत खाते में स्थान्तरण करें",
"transfer_token": "स्थान्तरण",
"transfer_to_saving": "बचत खाते में स्थान्तरण करें",
"powerUp": "स्टीम क्षमता बढ़ाएं",
"withdrawToSaving": "बचत खाते से निकालें",
"withdraw_to_saving": "बचत खाते से निकालें",
"steemconnect_title": "स्टीमकनेक्ट स्थान्तरण",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Ez az üzenet nyilvános",
"to_placeholder": "Felhasználónév",
"memo_placeholder": "Megjegyzés ide",
"transferToken": "Átutalás",
"transferToSaving": "Átutalás a megtakarításokhoz",
"transfer_token": "Átutalás",
"transfer_to_saving": "Átutalás a megtakarításokhoz",
"powerUp": "Power Up",
"withdrawToSaving": "Átutalás A Megtakarításokhoz",
"withdraw_to_saving": "Átutalás A Megtakarításokhoz",
"steemconnect_title": "Steemconnect átutalás",
"next": "KÖVETKEZŐ"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Memo ini bersifat publik",
"to_placeholder": "Nama Pengguna",
"memo_placeholder": "Masukan catatan anda disini",
"transferToken": "Transfer",
"transferToSaving": "Transfer untuk menyimpan",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer untuk menyimpan",
"powerUp": "Power Up",
"withdrawToSaving": "Tarik untuk menyimpan",
"withdraw_to_saving": "Tarik untuk menyimpan",
"steemconnect_title": "Steemconnect Transfer",
"next": "LANJUT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Ši atmintinė yra vieša",
"to_placeholder": "Vartotojo vardas",
"memo_placeholder": "Įveskite savo užrašus čia",
"transferToken": "Pervesti",
"transferToSaving": "Pervesti į Santaupas",
"transfer_token": "Pervesti",
"transfer_to_saving": "Pervesti į Santaupas",
"powerUp": "Power Up",
"withdrawToSaving": "Atsiimti į Santaupas",
"withdraw_to_saving": "Atsiimti į Santaupas",
"steemconnect_title": "Steemconnect Pervedimas",
"next": "TOLIAU"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Memo ini adalah umum",
"to_placeholder": "Nama Pengguna",
"memo_placeholder": "Masukkan catatan anda di sini",
"transferToken": "Pindah",
"transferToSaving": "Pindah kepada simpanan",
"transfer_token": "Pindah",
"transfer_to_saving": "Pindah kepada simpanan",
"powerUp": "Mengekuasai",
"withdrawToSaving": "Keluarkan kepada penyimpanan",
"withdraw_to_saving": "Keluarkan kepada penyimpanan",
"steemconnect_title": "Steemconnect Transfer",
"next": "SETERUSNYA"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Na everybody go see this memo",
"to_placeholder": "Guy-name",
"memo_placeholder": "Write your note for here",
"transferToken": "Transfer",
"transferToSaving": "Transfer go Savings",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer go Savings",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw go savings",
"withdraw_to_saving": "Withdraw go savings",
"steemconnect_title": "Transfer with steemconnect",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Este memo é público",
"to_placeholder": "Utilizador",
"memo_placeholder": "Insira aqui as suas notas",
"transferToken": "Transferir",
"transferToSaving": "Transferir para Poupanças",
"transfer_token": "Transferir",
"transfer_to_saving": "Transferir para Poupanças",
"powerUp": "Carregar Poder",
"withdrawToSaving": "Levantar para Guradar",
"withdraw_to_saving": "Levantar para Guradar",
"steemconnect_title": "Transferência por Steemconnect",
"next": "SEGUINTE"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Această notă este publică",
"to_placeholder": "Nume de utilizator",
"memo_placeholder": "Introdu comentariul tău aici",
"transferToken": "Transferă",
"transferToSaving": "Tranferă la economii",
"transfer_token": "Transferă",
"transfer_to_saving": "Tranferă la economii",
"powerUp": "Power Up",
"withdrawToSaving": "Retrage la economii",
"withdraw_to_saving": "Retrage la economii",
"steemconnect_title": "Transfer Steemconnect",
"next": "URMĂTORUL"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Эта заметка публична",
"to_placeholder": "Пользователь",
"memo_placeholder": "Введите свою заметку",
"transferToken": "Перевод",
"transferToSaving": "Отправить в сейф",
"transfer_token": "Перевод",
"transfer_to_saving": "Отправить в сейф",
"powerUp": "Увеличение силы",
"withdrawToSaving": "Вывести в сейф",
"withdraw_to_saving": "Вывести в сейф",
"steemconnect_title": "Перевод Steemconnect",
"next": "ДАЛЕЕ"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "Bu not herkese açık",
"to_placeholder": "Kullanıcı Adı",
"memo_placeholder": "Notlarınızı buraya girin",
"transferToken": "Havale",
"transferToSaving": "Tasarrufa Aktar",
"transfer_token": "Havale",
"transfer_to_saving": "Tasarrufa Aktar",
"powerUp": "Güç yükselt",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Aktarımı",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public",
"to_placeholder": "Username",
"memo_placeholder": "Enter your notes here",
"transferToken": "Transfer",
"transferToSaving": "Transfer To Saving",
"transfer_token": "Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving",
"withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer",
"next": "NEXT"
}

View File

@ -2,7 +2,7 @@ export default {
999: {
icon: 'compare-arrows',
textKey: 'points.incoming_transfer_title',
nameKey: 'points.delegation',
nameKey: 'points.incoming_transfer',
descriptionKey: 'points.incoming_transfer_description',
iconType: 'MaterialIcons',
point: 0.1,
@ -10,7 +10,7 @@ export default {
998: {
icon: 'compare-arrows',
textKey: 'points.outgoing_transfer_title',
nameKey: 'points.delegation',
nameKey: 'points.outgoing_transfer',
descriptionKey: 'points.outgoing_transfer_description',
iconType: 'MaterialIcons',
point: 0.1,

View File

@ -514,7 +514,7 @@ export const upvoteAmount = async input => {
return estimated;
};
export const transferToken = (currentAccount, pin, data) => {
export const transfer_token = (currentAccount, pin, data) => {
const digitPinCode = getDigitPinCode(pin);
const key = getAnyPrivateKey({ activeKey: currentAccount.local.activeKey }, digitPinCode);
@ -545,7 +545,7 @@ export const transferToken = (currentAccount, pin, data) => {
return Promise.reject(new Error('You dont have permission!'));
};
export const transferToSavings = (currentAccount, pin, data) => {
export const transfer_to_savings = (currentAccount, pin, data) => {
const digitPinCode = getDigitPinCode(pin);
const key = getAnyPrivateKey({ activeKey: currentAccount.local.activeKey }, digitPinCode);

View File

@ -5,9 +5,9 @@ import { injectIntl } from 'react-intl';
// Services and Actions
import {
lookupAccounts,
transferToken,
transfer_token,
transferFromSavings,
transferToSavings,
transfer_to_savings,
transferToVesting,
getAccount,
} from '../../../providers/steem/dsteem';
@ -89,16 +89,16 @@ class TransferContainer extends Component {
data.amount = `${data.amount} ${fundType}`;
switch (transferType) {
case 'transferToken':
func = transferToken;
case 'transfer_token':
func = transfer_token;
break;
case 'transferToSaving':
func = transferToSavings;
case 'transfer_to_saving':
func = transfer_to_savings;
break;
case 'powerUp':
func = transferToVesting;
break;
case 'withdrawToSaving':
case 'withdraw_to_saving':
func = transferFromSavings;
data.requestId = new Date().getTime() >>> 0;
break;