Skip to content

Commit

Permalink
移去未测试的图书借阅通知,修正官方微信联系方式。
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecialCyCi committed Jun 3, 2014
1 parent 60e8f21 commit 79b5ce7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
minSdkVersion 8
targetSdkVersion 19
versionCode Integer.parseInt(new Date().format('yyyyMMddHH'))
versionName "2.4.7.9"
versionName "2.5"
}
buildTypes {
release {
Expand Down
16 changes: 6 additions & 10 deletions app/src/main/java/cn/scau/scautreasure/ui/BorrowedBook.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
import cn.scau.scautreasure.api.LibraryApi;
import cn.scau.scautreasure.helper.UIHelper;


import cn.scau.scautreasure.model.BookModel;


import static cn.scau.scautreasure.helper.UIHelper.LISTVIEW_EFFECT_MODE.ALPHA;

/**
Expand Down Expand Up @@ -93,12 +89,12 @@ void loadData(Object... params) {
try{
if ( target == UIHelper.TARGET_FOR_NOW_BORROW ) {
list = api.getNowBorrowedBooks(AppContext.userName, app.getEncodeLibPassword()).getBooks();
if(list!=null){
SharedPreferences share=this.getSharedPreferences("no_book", Activity.MODE_PRIVATE);
SharedPreferences.Editor editor=share.edit();
editor.clear();
editor.commit();
}
// if(list!=null){
// SharedPreferences share=this.getSharedPreferences("no_book", Activity.MODE_PRIVATE);
// SharedPreferences.Editor editor=share.edit();
// editor.clear();
// editor.commit();
// }
}else{
list = api.getHistoryBorrowedBooks(AppContext.userName, app.getEncodeLibPassword()).getBooks();
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
android:layout_height="match_parent"
android:textColor="#434242"
android:textSize="15sp"
android:text="微信公众号: 搜索 iSCAU "/>
android:text="微信公众号: 搜索 华农宝 "/>
</LinearLayout>

<Button
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:text="@string/btn_notification_setting"
android:visibility="gone"
android:layout_marginTop="10dp"/>

<ImageView
Expand Down

0 comments on commit 79b5ce7

Please sign in to comment.