Repository navigation
feat(app-icon): 新增海海图标并改为四列展示 - #58
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这个 PR 做了什么
新增第二款内置应用图标「海海」,放在默认图标之后;应用图标选择页由一行 3 个改为一行 4 个,图标由 64dp 缩至 56dp;新增 Android AltIcon alias 和全套 mipmap/adaptive 资源。
改动了哪些代码
lib/shell/profile/settings/app_icon_models.dart:新增AppIconIds.alt,appIconChoices第二项为「海海」lib/shell/profile/settings/app_icon_page.dart:四列布局、56dp 图标、窄屏自适应assets/images/app_icon_alt.png:2048×2048 原图pubspec.yaml:登记图标 assetandroid/app/src/main/AndroidManifest.xml:新增AltIconactivity-alias,保留 4×5 provider 和翻周 receiverandroid/app/src/main/kotlin/dev/duohuo/nuist_sta_app/AppIconPlugin.kt:altalias 映射android/app/src/main/res/:5 档 mipmap、5 档 adaptive 前景、mipmap-anydpi-v26/ic_launcher_alt.xml、values/app_icon_colors.xmltest/app_icon_test.dart、test/shell_micro_perf_test.dart:图标选择/顺序/四列不溢出与 56dp 解码断言检查清单
dart format lib test454 文件无改动flutter analyze零问题flutter test全绿(2493 通过 / 22 跳过)compileDebugKotlin、Manifest 合并、资源链接通过cargo test36/37(已知 OS 写背压基线失败;native/vpn无源码改动;Linux Rust 1.90 通过)截图
应用图标页浅色/深色预览已本地核对(四列、海海第二位、56dp)。