chore: 汇总批量提交的功能优化与bug修复
本次提交包含多项迭代优化和问题修复: 1. 新增缩略图图片组件、数字格式化工具类,补充多语言翻译类型与本地化支持 2. 优化底部导航栏主题色统一使用动态accent色值 3. 修复多处图表动画、路由跳转、API请求相关问题 4. 简化服务器公告文案,调整默认分屏状态为关闭 5. 新增安卓/iOS桌面快捷方式配置 6. 重构多处状态管理类使用SafeNotifierInit统一异常保护 7. 替换硬编码蓝色为主题色,更新版本号获取方式为动态读取 8. 优化缓存预加载逻辑,移除无用代码 9. 调整默认设置项,优化用户体验细节
This commit is contained in:
@@ -94,6 +94,9 @@
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
<meta-data
|
||||
android:name="android.app.shortcuts"
|
||||
android:resource="@xml/shortcuts" />
|
||||
<!-- 文本分享 -->
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEND"/>
|
||||
|
||||
@@ -9,4 +9,8 @@
|
||||
<string name="widget_solar_term_desc">当前节气与对应诗词</string>
|
||||
<string name="widget_checkin_desc">连续签到天数和快捷签到</string>
|
||||
<string name="data_management_label">闲言数据管理</string>
|
||||
<string name="shortcut_theme_short">主题个性化</string>
|
||||
<string name="shortcut_theme_long">打开主题个性化设置</string>
|
||||
<string name="shortcut_general_settings_short">通用设置</string>
|
||||
<string name="shortcut_general_settings_long">打开通用设置</string>
|
||||
</resources>
|
||||
|
||||
29
android/app/src/main/res/xml/shortcuts.xml
Normal file
29
android/app/src/main/res/xml/shortcuts.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<shortcut
|
||||
android:shortcutId="action_theme"
|
||||
android:enabled="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:shortcutShortLabel="@string/shortcut_theme_short"
|
||||
android:shortcutLongLabel="@string/shortcut_theme_long">
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:targetPackage="apps.xy.xianyan"
|
||||
android:targetClass="apps.xy.xianyan.MainActivity">
|
||||
<extra android:name="shortcutType" android:value="action_theme" />
|
||||
</intent>
|
||||
</shortcut>
|
||||
<shortcut
|
||||
android:shortcutId="action_general_settings"
|
||||
android:enabled="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:shortcutShortLabel="@string/shortcut_general_settings_short"
|
||||
android:shortcutLongLabel="@string/shortcut_general_settings_long">
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:targetPackage="apps.xy.xianyan"
|
||||
android:targetClass="apps.xy.xianyan.MainActivity">
|
||||
<extra android:name="shortcutType" android:value="action_general_settings" />
|
||||
</intent>
|
||||
</shortcut>
|
||||
</shortcuts>
|
||||
Reference in New Issue
Block a user