Skip to content

Commit

Permalink
在更低版本的安卓上启用跟随系统亮暗主题功能(lyswhut#317
Browse files Browse the repository at this point in the history
(cherry picked from commit cb71524)
  • Loading branch information
lyswhut authored and likaiqiang committed Apr 6, 2024
1 parent a63d256 commit d3e8c56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion publish/changeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@
- 修复主题背景覆盖不全的问题
- 修复清理缓存后查看日志时会导致APP崩溃的问题

### 变更

- 在更低版本的安卓上启用跟随系统亮暗主题功能(#317

### 其他

- 移除所有内置源,由于收到腾讯投诉要求停止提供软件内置的连接到他们平台的在线播放及下载服务,所以从即日(2023年10月18日)起LX本身不再提供上述服务
- 更新许可协议的排版,使其看起来更加清晰明了,更新数据来源原理说明
- 更新 React native 到 v0.72.6

2 changes: 1 addition & 1 deletion src/utils/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export const getIsSupportedAutoTheme = () => {
if (isSupportedAutoTheme == null) {
const osVerNum = parseInt(osVer)
isSupportedAutoTheme = isAndroid
? osVerNum >= 10
? osVerNum >= 5
: osVerNum >= 13
}
return isSupportedAutoTheme
Expand Down

0 comments on commit d3e8c56

Please sign in to comment.