修改关注日记页右上角图标

This commit is contained in:
mx1700 2019-08-04 21:38:58 +08:00
parent ab77145596
commit cc477f7a2c
2 changed files with 5 additions and 4 deletions

View file

@ -27,7 +27,7 @@ export default class FollowPage extends Component {
}, },
rightButtons: [{ rightButtons: [{
id: 'followIcon', id: 'followIcon',
icon: Icon.followIcon, icon: Icon.navButtonUserList,
color: Color.primary // android color: Color.primary // android
}] }]

View file

@ -30,7 +30,8 @@ let Icon = {
navButtonBack: null, navButtonBack: null,
navButtonOpen: null, navButtonOpen: null,
navButtonTime: null navButtonTime: null,
navButtonUserList: null,
}; };
const outline = Platform.OS === 'ios' ? '-outline' : ''; const outline = Platform.OS === 'ios' ? '-outline' : '';
@ -68,8 +69,8 @@ async function loadIcon() {
Ionicons.getImageSource(Platform.OS === 'ios' ? 'md-arrow-back' : 'md-arrow-back', 26, iconColor), Ionicons.getImageSource(Platform.OS === 'ios' ? 'md-arrow-back' : 'md-arrow-back', 26, iconColor),
Ionicons.getImageSource(Platform.OS === 'ios' ? 'ios-open-outline' : 'md-open', 26, iconColor), Ionicons.getImageSource(Platform.OS === 'ios' ? 'ios-open-outline' : 'md-open', 26, iconColor),
Ionicons.getImageSource(Platform.OS === 'ios' ? 'md-time' : 'md-time', 26, iconColor) Ionicons.getImageSource(Platform.OS === 'ios' ? 'md-time' : 'md-time', 26, iconColor),
Ionicons.getImageSource(Platform.OS === 'ios' ? 'ios-contacts' : 'ios-contacts', 26, iconColor),
]); ]);
let index = 0; let index = 0;