mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-29 16:44:27 +03:00
commit
b3e171d082
@ -1,5 +1,15 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"size" : "20x20",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"size" : "20x20",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"size" : "29x29",
|
||||
@ -29,6 +39,11 @@
|
||||
"idiom" : "iphone",
|
||||
"size" : "60x60",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"idiom" : "ios-marketing",
|
||||
"size" : "1024x1024",
|
||||
"scale" : "1x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
|
@ -60,6 +60,8 @@ class HeaderView extends Component {
|
||||
isReverse,
|
||||
currentAccount,
|
||||
} = this.props;
|
||||
const _name = this._getNameOfUser();
|
||||
const _reputation = getReputation(currentAccount.reputation);
|
||||
|
||||
return (
|
||||
<SafeAreaView style={[styles.container, isReverse && styles.containerReverse]}>
|
||||
@ -88,11 +90,11 @@ class HeaderView extends Component {
|
||||
</TouchableOpacity>
|
||||
{currentAccount && currentAccount.name ? (
|
||||
<View style={styles.titleWrapper}>
|
||||
<Text style={styles.title}>{this._getNameOfUser()}</Text>
|
||||
{_name && <Text style={styles.title}>{_name}</Text>}
|
||||
<Text style={styles.subTitle}>
|
||||
@
|
||||
{currentAccount.name}
|
||||
{`(${getReputation(currentAccount.reputation)})`}
|
||||
{`(${_reputation})`}
|
||||
</Text>
|
||||
</View>
|
||||
) : (
|
||||
|
@ -128,7 +128,7 @@ class ProfileSummaryView extends Component {
|
||||
color="#c1c5c7"
|
||||
/>
|
||||
{isFollowLoading ? (
|
||||
<ActivityIndicator style={styles.insetIconStyle} />
|
||||
<ActivityIndicator style={[styles.insetIconStyle, {width: 30}]} />
|
||||
) : (
|
||||
<IconButton
|
||||
backgroundColor="transparent"
|
||||
|
@ -30,7 +30,7 @@ class MessagesScreen extends Component {
|
||||
<Fragment>
|
||||
<Header />
|
||||
<NoPost
|
||||
style={{ marginTop: 118 }}
|
||||
style={styles.container}
|
||||
imageStyle={styles.image}
|
||||
source={MESSAGES_IMAGE}
|
||||
defaultText="Messages feature is coming soon!"
|
||||
|
@ -2,11 +2,9 @@ import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
|
||||
export default EStyleSheet.create({
|
||||
container: {
|
||||
// flexDirection: 'center',
|
||||
// width: 50,
|
||||
justifyContent: 'center',
|
||||
alignContent: 'center',
|
||||
alignItems: 'center',
|
||||
flex: 1,
|
||||
},
|
||||
image: {
|
||||
width: 193,
|
||||
|
Loading…
Reference in New Issue
Block a user