diff --git a/publish/changeLog.md b/publish/changeLog.md index 4a37dd9a..0421c969 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -15,9 +15,12 @@ - 修复主题背景覆盖不全的问题 - 修复清理缓存后查看日志时会导致APP崩溃的问题 +### 变更 + +- 在更低版本的安卓上启用跟随系统亮暗主题功能(#317) + ### 其他 - 移除所有内置源,由于收到腾讯投诉要求停止提供软件内置的连接到他们平台的在线播放及下载服务,所以从即日(2023年10月18日)起LX本身不再提供上述服务 - 更新许可协议的排版,使其看起来更加清晰明了,更新数据来源原理说明 - 更新 React native 到 v0.72.6 - diff --git a/src/utils/tools.ts b/src/utils/tools.ts index f9e3dabf..5ed7bd72 100644 --- a/src/utils/tools.ts +++ b/src/utils/tools.ts @@ -357,7 +357,7 @@ export const getIsSupportedAutoTheme = () => { if (isSupportedAutoTheme == null) { const osVerNum = parseInt(osVer) isSupportedAutoTheme = isAndroid - ? osVerNum >= 10 + ? osVerNum >= 5 : osVerNum >= 13 } return isSupportedAutoTheme