diff --git a/app/release.md b/app/release.md index 0256043..a34656e 100644 --- a/app/release.md +++ b/app/release.md @@ -1,6 +1,3 @@ -* 1、修复发现分类bug -* 2、新增章节内容智能分段(阅读菜单-智能分段) -* 3、备份/恢复路径支持自定义 -* 4、优化搜索 -* 5、修复已知bug -* 6、新增致谢名单 \ No newline at end of file +* 1、新增分组管理界面(支持添加、重命名、删除、排序分组) +* 2、发现界面书籍添加动画效果 +* 3、修复v2.1.7版本更新中推送debug版本的问题 \ No newline at end of file diff --git a/app/src/main/assets/updatelog.fy b/app/src/main/assets/updatelog.fy index 0ef3725..268a162 100644 --- a/app/src/main/assets/updatelog.fy +++ b/app/src/main/assets/updatelog.fy @@ -1,3 +1,11 @@ +2021.08.31 +风月读书v2.1.9 +更新内容: +1、新增分组管理界面(支持添加、重命名、删除、排序分组) +2、发现界面书籍添加动画效果 +3、修复v2.1.7版本更新中推送debug版本的问题 +(注:debug版测试版本,可能存在不稳定性,此次更新将全面推送正式版,建议更新) + 2021.08.25 风月读书v2.1.7 更新内容: diff --git a/app/src/main/java/xyz/fycz/myreader/greendao/service/SearchHistoryService.java b/app/src/main/java/xyz/fycz/myreader/greendao/service/SearchHistoryService.java index c8dac07..80dc837 100644 --- a/app/src/main/java/xyz/fycz/myreader/greendao/service/SearchHistoryService.java +++ b/app/src/main/java/xyz/fycz/myreader/greendao/service/SearchHistoryService.java @@ -90,7 +90,7 @@ public class SearchHistoryService extends BaseService { SearchHistory searchHistory = null; String sql = "select * from search_history where content = ?"; Cursor cursor = selectBySql(sql,new String[]{content}); - if (cursor == null) return searchHistory; + if (cursor == null) return null; if (cursor.moveToNext()){ searchHistory = new SearchHistory(); searchHistory.setId(cursor.getString(0)); @@ -111,7 +111,7 @@ public class SearchHistoryService extends BaseService { searchHistory.setContent(history); addSearchHistory(searchHistory); }else { - searchHistory.setCreateDate(DateHelper.longToTime(new Date().getTime())); + searchHistory.setCreateDate(DateHelper.longToTime(System.currentTimeMillis())); updateEntity(searchHistory); } } diff --git a/app/src/main/java/xyz/fycz/myreader/ui/activity/MainActivity.java b/app/src/main/java/xyz/fycz/myreader/ui/activity/MainActivity.java index 91b925c..8bc9f1c 100644 --- a/app/src/main/java/xyz/fycz/myreader/ui/activity/MainActivity.java +++ b/app/src/main/java/xyz/fycz/myreader/ui/activity/MainActivity.java @@ -266,7 +266,7 @@ public class MainActivity extends BaseActivity { menu.setGroupVisible(R.id.bookcase_menu, true); menu.findItem(R.id.action_finish).setVisible(false); menu.findItem(R.id.action_change_group).setVisible(SharedPreUtils - .getInstance().getBoolean("openGroup")); + .getInstance().getBoolean("openGroup", true)); } } else { menu.setGroupVisible(R.id.bookcase_menu, false); diff --git a/app/version_code.properties b/app/version_code.properties index 720e9e4..0c5d80e 100644 --- a/app/version_code.properties +++ b/app/version_code.properties @@ -1,3 +1,3 @@ #Fri Jun 18 21:45:31 CST 2021 -VERSION_CODE=218 -NEED_CREATE_RELEASE=false +VERSION_CODE=219 +NEED_CREATE_RELEASE=true