Added new information for steemconnect login

This commit is contained in:
Mustafa Buyukcelebi 2019-02-12 11:48:26 +03:00
parent b97311f617
commit 40328d7086
5 changed files with 16 additions and 4 deletions

View File

@ -17,4 +17,7 @@ export default EStyleSheet.create({
fontSize: 12, fontSize: 12,
color: '$primaryDarkGray', color: '$primaryDarkGray',
}, },
bold: {
fontWeight: '700',
},
}); });

View File

@ -27,12 +27,12 @@ class FormInputView extends PureComponent {
// Component Functions // Component Functions
render() { render() {
const { description, iconName } = this.props; const { description, iconName, bold } = this.props;
return ( return (
<View style={styles.container}> <View style={styles.container}>
<Ionicons color="#c1c5c7" style={styles.infoIcon} name={iconName} /> <Ionicons color="#c1c5c7" style={styles.infoIcon} name={iconName} />
<Text style={styles.infoText}>{description}</Text> <Text style={[styles.infoText, bold && styles.bold]}>{description}</Text>
</View> </View>
); );
} }

View File

@ -78,7 +78,8 @@
"description": "User credentials are kept locally on the device. Credentials are removed upon logout!", "description": "User credentials are kept locally on the device. Credentials are removed upon logout!",
"cancel": "cancel", "cancel": "cancel",
"login": "LOGIN", "login": "LOGIN",
"steemconnect_description": "If you don't want to keep your password encrypted and saved on your device, you can use Steemconnect." "steemconnect_description": "If you don't want to keep your password encrypted and saved on your device, you can use Steemconnect.",
"steemconnect_fee_description": "Steemconnect may charge some fees from your reward transactions"
}, },
"home": { "home": {
"feed": "Feed", "feed": "Feed",

View File

@ -78,7 +78,8 @@
"description": "Kullanıçı bilgileri telefonunuz üzeründe şifreli olarak tutulur ve çıkış yaptıgınızda tüm bilgiler silinir.", "description": "Kullanıçı bilgileri telefonunuz üzeründe şifreli olarak tutulur ve çıkış yaptıgınızda tüm bilgiler silinir.",
"cancel": "geç", "cancel": "geç",
"login": "GİRİŞ", "login": "GİRİŞ",
"steemconnect_description": "Eğer kullanıçı bilgilerini şifreli olarak tutulmasını istemiyorsanız Steemconnect ilede giriş yapabilirsiniz." "steemconnect_description": "Eğer kullanıçı bilgilerini şifreli olarak tutulmasını istemiyorsanız Steemconnect ilede giriş yapabilirsiniz.",
"steemconnect_fee_description": "Steemconnect, ödül işlemlerinden bazı ücretler alabilir."
}, },
"home": { "home": {
"feed": "Akış", "feed": "Akış",

View File

@ -168,6 +168,13 @@ class LoginScreen extends PureComponent {
</View> </View>
</View> </View>
<View tabLabel="SteemConnect" style={styles.tabbarItem}> <View tabLabel="SteemConnect" style={styles.tabbarItem}>
<InformationArea
description={intl.formatMessage({
id: 'login.steemconnect_fee_description',
})}
iconName="ios-information-circle-outline"
bold
/>
<InformationArea <InformationArea
description={intl.formatMessage({ description={intl.formatMessage({
id: 'login.steemconnect_description', id: 'login.steemconnect_description',