Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
clone_excelso
Commits
1058349f
Commit
1058349f
authored
Aug 21, 2020
by
William Goszal
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- di account tombol use balance dibikin full col
- ganti language untuk usebalancepoint
parent
5944ee5c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
15 deletions
+21
-15
en.json
lib/en.json
+1
-1
id.json
lib/id.json
+1
-1
Account.js
view/Account.js
+19
-13
No files found.
lib/en.json
View file @
1058349f
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
"Transferbalance"
:
"TRANSFER BALANCE"
,
"Transferbalance"
:
"TRANSFER BALANCE"
,
"Transactionhistory"
:
"TRANSACTION HISTORY"
,
"Transactionhistory"
:
"TRANSACTION HISTORY"
,
"Renewal"
:
"RENEWAL"
,
"Renewal"
:
"RENEWAL"
,
"Usebalancepoint"
:
"USE BALANCE
/ POINTS
"
,
"Usebalancepoint"
:
"USE BALANCE"
,
"Acitvatecard"
:
"ACTIVATE CARD"
,
"Acitvatecard"
:
"ACTIVATE CARD"
,
"mobilePhone"
:
"Mobile Phone"
,
"mobilePhone"
:
"Mobile Phone"
,
"resend"
:
"Resend"
,
"resend"
:
"Resend"
,
...
...
lib/id.json
View file @
1058349f
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
"Transferbalance"
:
"TRANSFER SALDO"
,
"Transferbalance"
:
"TRANSFER SALDO"
,
"Transactionhistory"
:
"RIWAYAT TRANSAKSI"
,
"Transactionhistory"
:
"RIWAYAT TRANSAKSI"
,
"Renewal"
:
"RENEWAL"
,
"Renewal"
:
"RENEWAL"
,
"Usebalancepoint"
:
"GUNAKAN SALDO
/ POIN
"
,
"Usebalancepoint"
:
"GUNAKAN SALDO"
,
"Acitvatecard"
:
"AKTIVASI KARTU"
,
"Acitvatecard"
:
"AKTIVASI KARTU"
,
"mobilePhone"
:
"Nomor HP"
,
"mobilePhone"
:
"Nomor HP"
,
"resend"
:
"Kirim Ulang"
,
"resend"
:
"Kirim Ulang"
,
...
...
view/Account.js
View file @
1058349f
...
@@ -451,6 +451,7 @@ class Account extends React.Component {
...
@@ -451,6 +451,7 @@ class Account extends React.Component {
<
View
style
=
{
styles
.
action_grid_container
}
>
<
View
style
=
{
styles
.
action_grid_container
}
>
{
/* Action Transfer Balance */
}
{
/* Action Transfer Balance */
}
{
/*
<View style={styles.action_grid_col} display="none">
<View style={styles.action_grid_col} display="none">
<TouchableOpacity onPress={() => this.TransferBalance()} >
<TouchableOpacity onPress={() => this.TransferBalance()} >
<Card style={styles.action_grid_card}>
<Card style={styles.action_grid_card}>
...
@@ -459,9 +460,10 @@ class Account extends React.Component {
...
@@ -459,9 +460,10 @@ class Account extends React.Component {
</Card>
</Card>
</TouchableOpacity>
</TouchableOpacity>
</View>
</View>
*/
}
{
/* Action Use Balance */
}
{
/* Action Use Balance */
}
<
View
style
=
{
styles
.
action_grid_col
}
>
<
View
style
=
{
styles
.
action_grid_col
_full
}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
handleuseBalance
()}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
handleuseBalance
()}
>
<
Card
style
=
{
styles
.
action_grid_card
}
>
<
Card
style
=
{
styles
.
action_grid_card
}
>
<
Image
style
=
{
styles
.
action_grid_icon
}
source
=
{
require
(
'../assets/icon/2.png'
)}
/
>
<
Image
style
=
{
styles
.
action_grid_icon
}
source
=
{
require
(
'../assets/icon/2.png'
)}
/
>
...
@@ -491,15 +493,18 @@ class Account extends React.Component {
...
@@ -491,15 +493,18 @@ class Account extends React.Component {
<
/View
>
<
/View
>
{
/* Action Upgrade Premium */
}
{
/* Action Upgrade Premium */
}
<
View
style
=
{
styles
.
action_grid_col
}
display
=
"none"
>
{
/*
{this.state.premium === false ? (
<View style={styles.action_grid_col}>
<TouchableOpacity onPress={() => this.props.navigation.navigate('Upgrade Premium')} >
<TouchableOpacity onPress={() => this.props.navigation.navigate('Upgrade Premium')} >
<Card style={styles.action_grid_card}>
<Card style={styles.action_grid_card}>
{
/* <MaterialIcons name="autorenew" color="gray" size={50} style={styles.action_grid_icon} /> */
}
<Image style={styles.action_grid_icon} source={require('../assets/icon/3.png')} />
<Image style={styles.action_grid_icon} source={require('../assets/icon/3.png')} />
<Text style={styles.action_grid_text}>{i18n.t('upgradePremium')}</Text>
<Text style={styles.action_grid_text}>{i18n.t('upgradePremium')}</Text>
</Card>
</Card>
</TouchableOpacity>
</TouchableOpacity>
</View>
</View>
) : (null)}
*/
}
<
/View
>
<
/View
>
{
/* Actions Grid - end */
}
{
/* Actions Grid - end */
}
...
@@ -558,6 +563,7 @@ const styles = StyleSheet.create({
...
@@ -558,6 +563,7 @@ const styles = StyleSheet.create({
action_grid_card
:{
action_grid_card
:{
height
:
120
,
height
:
120
,
width
:
"100%"
,
width
:
"100%"
,
backgroundColor
:
"#FCFCFC"
,
alignItems
:
'center'
,
alignItems
:
'center'
,
flex
:
1
,
flex
:
1
,
flexDirection
:
'column'
,
flexDirection
:
'column'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment