master v2.1.9
fengyuecanzhu 3 years ago
parent 0f133b99b0
commit b9266a1b4a
  1. 9
      app/release.md
  2. 8
      app/src/main/assets/updatelog.fy
  3. 4
      app/src/main/java/xyz/fycz/myreader/greendao/service/SearchHistoryService.java
  4. 2
      app/src/main/java/xyz/fycz/myreader/ui/activity/MainActivity.java
  5. 4
      app/version_code.properties

@ -1,6 +1,3 @@
* 1、修复发现分类bug * 1、新增分组管理界面(支持添加、重命名、删除、排序分组)
* 2、新增章节内容智能分段(阅读菜单-智能分段) * 2、发现界面书籍添加动画效果
* 3、备份/恢复路径支持自定义 * 3、修复v2.1.7版本更新中推送debug版本的问题
* 4、优化搜索
* 5、修复已知bug
* 6、新增致谢名单

@ -1,3 +1,11 @@
2021.08.31
风月读书v2.1.9
更新内容:
1、新增分组管理界面(支持添加、重命名、删除、排序分组)
2、发现界面书籍添加动画效果
3、修复v2.1.7版本更新中推送debug版本的问题
(注:debug版测试版本,可能存在不稳定性,此次更新将全面推送正式版,建议更新)
2021.08.25 2021.08.25
风月读书v2.1.7 风月读书v2.1.7
更新内容: 更新内容:

@ -90,7 +90,7 @@ public class SearchHistoryService extends BaseService {
SearchHistory searchHistory = null; SearchHistory searchHistory = null;
String sql = "select * from search_history where content = ?"; String sql = "select * from search_history where content = ?";
Cursor cursor = selectBySql(sql,new String[]{content}); Cursor cursor = selectBySql(sql,new String[]{content});
if (cursor == null) return searchHistory; if (cursor == null) return null;
if (cursor.moveToNext()){ if (cursor.moveToNext()){
searchHistory = new SearchHistory(); searchHistory = new SearchHistory();
searchHistory.setId(cursor.getString(0)); searchHistory.setId(cursor.getString(0));
@ -111,7 +111,7 @@ public class SearchHistoryService extends BaseService {
searchHistory.setContent(history); searchHistory.setContent(history);
addSearchHistory(searchHistory); addSearchHistory(searchHistory);
}else { }else {
searchHistory.setCreateDate(DateHelper.longToTime(new Date().getTime())); searchHistory.setCreateDate(DateHelper.longToTime(System.currentTimeMillis()));
updateEntity(searchHistory); updateEntity(searchHistory);
} }
} }

@ -266,7 +266,7 @@ public class MainActivity extends BaseActivity {
menu.setGroupVisible(R.id.bookcase_menu, true); menu.setGroupVisible(R.id.bookcase_menu, true);
menu.findItem(R.id.action_finish).setVisible(false); menu.findItem(R.id.action_finish).setVisible(false);
menu.findItem(R.id.action_change_group).setVisible(SharedPreUtils menu.findItem(R.id.action_change_group).setVisible(SharedPreUtils
.getInstance().getBoolean("openGroup")); .getInstance().getBoolean("openGroup", true));
} }
} else { } else {
menu.setGroupVisible(R.id.bookcase_menu, false); menu.setGroupVisible(R.id.bookcase_menu, false);

@ -1,3 +1,3 @@
#Fri Jun 18 21:45:31 CST 2021 #Fri Jun 18 21:45:31 CST 2021
VERSION_CODE=218 VERSION_CODE=219
NEED_CREATE_RELEASE=false NEED_CREATE_RELEASE=true

Loading…
Cancel
Save