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

book.canUpdate #4497

Open
4 tasks done
gyz1023 opened this issue Jan 3, 2025 · 4 comments
Open
4 tasks done

book.canUpdate #4497

gyz1023 opened this issue Jan 3, 2025 · 4 comments
Labels
BUG B.软件未按预期的功能运行

Comments

@gyz1023
Copy link

gyz1023 commented Jan 3, 2025

确认 / Assignments

  • 搜索现有issues,不存在相似或相关的issue / No similar or related issues
  • 最新测试版依然存在此问题 / Latest beta app does not work
  • 此问题和Xposed、Lsposed、Magisk、手机主题、浏览器插件、无障碍服务等无关 / Make sure your machine is not touched by hook frameworks, plugins, accessibility etc

问题描述 / Describe Bugs

我想做到,书架下拉刷新,自动禁止完本的书更新,结果不行,我就想问问这个book.canUpdate=false,到底咋用,现在只能单本下拉刷新后自动禁止更新,整个书架下拉是无效的

复现步骤 / How to reproduce

Screenshot_2025-01-03-22-47-05-210_io legado app releaseA-edit
其实我下拉书架,日志里的调试已经显示为false了,跟单本下拉刷新是一样的,但是就是不生效,想要的效果是刷新一遍,直接禁止下拉书架刷新已经完本的书,节省更新时间
Screenshot_2025-01-03-22-50-41-606_io legado app releaseA

确认 / Assignment

  • 已经提交复现所需要的附加资料 / Submit additions related with bugs

其他信息 / Additions

No response

日志提交 / Relevant log output

No response

阅读版本 / Legado version

3.24.123015

Android版本 / Android version

Android 14

机型 / Model

redmi k40s

@gyz1023 gyz1023 added the BUG B.软件未按预期的功能运行 label Jan 3, 2025
@niu-hb
Copy link
Contributor

niu-hb commented Jan 4, 2025

手动设置不更新就行了,看完之后手动取消更新,后面就不会更新了。详情页面的菜单里,允许更新取消

@gyz1023
Copy link
Author

gyz1023 commented Jan 4, 2025

手动设置不更新就行了,看完之后手动取消更新,后面就不会更新了。详情页面的菜单里,允许更新取消

主要是为啥不生效,之前的book.type也是,那个好歹不写在更新前js里写到目录列表里是有效的,这个写目录列表里也不好使,调试明明已经变false了

@niu-hb
Copy link
Contributor

niu-hb commented Jan 4, 2025

我看了下,书架下拉刷新时是获取的当前书架的书,然后根据canUpdate过滤找到允许更新的,然后更新目录。更新目录的时候没有看到二次判断

@huajideshutiao
Copy link

讨论过了,没有修复计划

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG B.软件未按预期的功能运行
Projects
None yet
Development

No branches or pull requests

3 participants