Skip to content

Commit

Permalink
Merge pull request #51 from just4fun/v1.7.2
Browse files Browse the repository at this point in the history
v1.7.2
  • Loading branch information
just4fun authored Jan 17, 2019
2 parents a29ddcf + 7c27fa9 commit 6824836
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ An iOS client for http://bbs.uestc.edu.cn/ written in [react-native](https://fac

APIs are provided by [appbyme/mobcent-discuz](https://github.com/appbyme/mobcent-discuz) and partly documented by [UESTC-BBS/API-Docs](https://github.com/UESTC-BBS/API-Docs/wiki/Mobcent-API).

## Status (v1.7.1)
## Status (v1.7.2)

[<img width="250" alt="download_on_the_app_store" src="https://user-images.githubusercontent.com/7512625/27969868-353f554c-637f-11e7-869d-3963933461ca.png">](https://itunes.apple.com/cn/app/qing-shui-he-pan-stuhome/id1190564355)

Expand Down
2 changes: 1 addition & 1 deletion ios/stuhome/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.7.1</string>
<string>1.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stuhome",
"version": "1.7.1",
"description": "An officially recommended 3rd party iOS client for http://bbs.uestc.edu.cn/ written in react-native, redux and redux-observable.",
"version": "1.7.2",
"description": "An iOS client for http://bbs.uestc.edu.cn/ written in react-native, redux and redux-observable.",
"author": "just4fun <houritsunohikari@gmail.com>",
"scripts": {
"start": "node_modules/react-native/scripts/packager.sh",
Expand Down
2 changes: 1 addition & 1 deletion src/config/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {

MAX_UPLOAD_IMAGES_COUNT: 9,

VERSION: 'v1.7.1',
VERSION: 'v1.7.2',

AUTHOR_ID: 32044,

Expand Down
11 changes: 10 additions & 1 deletion src/containers/ReplyModal/ReplyModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,16 @@ class ReplyModal extends Component {
});
// I really hate the fields which mobcent API return
} else if (response.data.errcode) {
AlertIOS.alert('提示', response.data.errcode);
// *********************************
// Alert could not work with the spinner overlay together.
// https://github.com/joinspontaneous/react-native-loading-spinner-overlay/issues/72
// *********************************

// AlertIOS.alert('提示', response.data.errcode);
MessageBar.show({
message: response.data.errcode,
type: 'error'
});
}
}
}).finally(() => {
Expand Down

0 comments on commit 6824836

Please sign in to comment.