mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
统一导航栏按钮颜色
This commit is contained in:
parent
e65a3a9cf7
commit
729d5405dc
7 changed files with 5 additions and 14 deletions
|
@ -184,8 +184,6 @@ export default class DiaryDetailPage extends Component {
|
|||
rightButtons: [{
|
||||
id: 'navButtonMore',
|
||||
icon: Icon.navButtonMore,
|
||||
|
||||
color: Color.primary // android
|
||||
}]
|
||||
}
|
||||
});
|
||||
|
|
|
@ -28,8 +28,6 @@ export default class FollowPage extends Component {
|
|||
rightButtons: [{
|
||||
id: 'followIcon',
|
||||
icon: Icon.navButtonUserList,
|
||||
|
||||
color: Color.primary // android
|
||||
}]
|
||||
},
|
||||
statusBar: {
|
||||
|
|
|
@ -26,8 +26,6 @@ export default class NotebookDetailPage extends Component {
|
|||
topBar.rightButtons = [{
|
||||
id: 'navButtonNotebookSetting',
|
||||
icon: Icon.navButtonNotebookSetting,
|
||||
|
||||
color: Color.primary
|
||||
}];
|
||||
}
|
||||
|
||||
|
|
|
@ -28,8 +28,6 @@ export default class NotificationPage extends Component {
|
|||
rightButtons: [{
|
||||
id: 'history',
|
||||
icon: Icon.navButtonTime,
|
||||
|
||||
color: Color.primary // android
|
||||
}]
|
||||
},
|
||||
statusBar: {
|
||||
|
|
|
@ -28,7 +28,6 @@ export default class TopicPage extends Component {
|
|||
rightButtons: [{
|
||||
id: 'write',
|
||||
icon: Icon.navButtonWrite,
|
||||
color: Color.primary
|
||||
}]
|
||||
},
|
||||
statusBar: {
|
||||
|
|
|
@ -49,7 +49,7 @@ export default class UserPage extends Component {
|
|||
},
|
||||
rightButtons: [{
|
||||
id: 'followIcon',
|
||||
icon: Icon.followIcon
|
||||
icon: Icon.navButtonFollow
|
||||
}]
|
||||
},
|
||||
statusBar: {
|
||||
|
@ -66,8 +66,6 @@ export default class UserPage extends Component {
|
|||
rightButtons: [{
|
||||
id: 'setting',
|
||||
icon: Icon.navButtonSetting,
|
||||
|
||||
color: Color.primary
|
||||
}]
|
||||
},
|
||||
statusBar: {
|
||||
|
@ -103,7 +101,7 @@ export default class UserPage extends Component {
|
|||
topBar: {
|
||||
rightButtons: [{
|
||||
id: 'followIcon',
|
||||
icon: Icon.followIcon
|
||||
icon: Icon.navButtonFollow
|
||||
}]
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
import Ionicons from "react-native-vector-icons/Ionicons";
|
||||
import {Platform} from "react-native";
|
||||
import Color from '../style/color';
|
||||
|
||||
|
||||
let Icon = {
|
||||
homeIcon : null,
|
||||
|
@ -35,7 +37,7 @@ let Icon = {
|
|||
};
|
||||
|
||||
const outline = Platform.OS === 'ios' ? '-outline' : '';
|
||||
const iconColor = '#333333';
|
||||
const iconColor = Platform.OS === 'ios' ? Color.primary : '#333333';
|
||||
|
||||
async function loadIcon() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue