Ehviewer-Overhauled / Ehviewer

EhViewer overhauled with Material Design 3, Jetpack Compose and more
GNU General Public License v3.0
5.15k stars 231 forks source link

将“需要解锁”的条件变更为每次重新加载应用之后 #81

Closed cherinyy closed 2 years ago

cherinyy commented 2 years ago

需求 / Requirement

目前“需要解锁”的条件是在启动阶段进行解锁判定,而基于多方面考虑(例如用户没有清理后台应用程序的习惯),建议将条件变更为每次重新加载应用之后。

建议实现 / Suggested implements

将“需要解锁”的条件变更为每次重新加载应用之后

其他细节 / Addition details

No response

EhViewer 版本号 / EhViewer version code

1.7.28.0

EhViewer CI 版本 / EhViewer CI Version

https://github.com/asuka-mio/Ehviewer/actions/runs/2630854617

自查步骤 / Verify steps

cherinyy commented 2 years ago

86

cherinyy commented 2 years ago

https://github.com/asuka-mio/Ehviewer/actions/runs/2650399893 在阅读界面和设置界面下,重载应用不需要解锁即可浏览。

asuka-mio commented 2 years ago

https://github.com/asuka-mio/Ehviewer/actions/runs/2650399893 在阅读界面和设置界面下,重载应用不需要解锁即可浏览。

这个需要解锁的判定是应用进入缓存 所以你可能需要多等那么几秒 不是说直接划出去再点进来就会要你解锁的 不多也就三四秒样子

asuka-mio commented 2 years ago

https://github.com/asuka-mio/Ehviewer/actions/runs/2650399893 在阅读界面和设置界面下,重载应用不需要解锁即可浏览。

哦我知道了 你从最近任务点进去的吧(这个我还没考虑过

cherinyy commented 2 years ago

在未离开 EhViewer 的情况下,在 EhViewer 打开外部链接,前往 Custom Tab 窗口后,返回 EhViewer 本身也会触发“需要解锁”。

txyyh commented 2 years ago

在未离开 EhViewer 的情况下,在 EhViewer 打开外部链接,前往 Custom Tab 窗口后,返回 EhViewer 本身也会触发“需要解锁”。

Custom Tab 本身就是由外部应用提供,返回后自然会触发“需要解锁”