Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.7.2 #51

Merged
merged 2 commits into from
Jan 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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