8000 调整热更新规则 · duheng/Mozi@28cf3d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
调整热更新规则
Browse files Browse the repository at this point in the history
  • Loading branch information
duheng committed Mar 25, 2019
1 parent 408c2ed commit 28cf3d5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.

2 changes: 1 addition & 1 deletion .eslintcache

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ const StackNavigatorConfig = options => {
gesturesEnabled = true,
headerBackgroundColor = '#262a37',
headerTitleStyle = {
alignSelf: 'right',
textAlign: 'right',
alignSelf: 'center',
textAlign: 'center',
flex: 1,
fontSize: 18,
color: '#9c9c9c',
Expand Down
2 changes: 1 addition & 1 deletion src/containers/mo/plug/index.js
Original file line number Diff line number Diff line change
8000 Expand Up @@ -23,7 +23,7 @@ const apiurls = {

export default class Plug extends Component {
static navigationOptions = {
headerTitle: '墨依赖',
headerTitle: '墨依赖!&',
};

goWeb = (gourl = 'https://www.jianshu.com/u/c971c7ffa27e') => {
Expand Down
5 changes: 4 additions & 1 deletion src/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ import App from './AppNavigationState';

const store = configureStore();

@codePush
@codePush({
checkFrequency: codePush.CheckFrequency.ON_APP_RESUME,
installMode: codePush.InstallMode.ON_NEXT_SUSPEND,
})
export default class Root extends Component {
componentDidMount() {
SplashScreen.hide(); // 隐藏启动屏
Expand Down

0 comments on commit 28cf3d5

Please sign in to comment.
0