Skip to content

Commit 3fec890

Browse files
committedApr 20, 2024
当检测到只有 md 文件更新时不进行 CI 构建
1 parent 6e7c2fa commit 3fec890

File tree

6 files changed

+14
-4
lines changed

6 files changed

+14
-4
lines changed
 

‎.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: CI
33
on:
44
push:
55
branches: [ "master" ]
6+
paths-ignore:
7+
- "**.md"
68

79
jobs:
810
build:

‎.github/workflows/pr_check.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Pull Request Check
33
on:
44
pull_request:
55
branches: [ "master" ]
6+
paths-ignore:
7+
- "**.md"
68

79
jobs:
810
check:

‎README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ GitHub 上的补充。目前是随着版本更新来更新共享关键H帧集,
168168

169169
### v0.14.5
170170

171-
**[调整]** 微调新番导览界面视觉效果
171+
**[调整]** 首页和新番导览部分界面视觉优化
172172

173173
**[更改]** 默认开启 采用共享关键H帧集。
174174

@@ -184,6 +184,10 @@ GitHub 上的补充。目前是随着版本更新来更新共享关键H帧集,
184184

185185
**[优化]** 共享关键H帧已分类排序,因此 JSON 需要新增两个键值。
186186

187+
**[新增]** 设置中协助打开 Deep Links 支持。
188+
189+
**[新增]** 子评论中用颜色标注 @ 用户。
190+
187191
### v0.14.0
188192

189193
**[新增]** CI 更新频道。现在可以在设置里选择更新频道了,有稳定版和 CI 版两个频道。并且可以调整更新弹窗间隔。

‎app/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ android {
4444
minSdk = libs.versions.minSdk.fetch<Int>()
4545
targetSdk = libs.versions.targetSdk.fetch<Int>()
4646
versionCode = if (isRelease) createVersionCode() else 1 // 方便调试
47-
versionName = versionCode.createVersionName(major = 0, minor = 14, patch = 0)
47+
versionName = versionCode.createVersionName(major = 0, minor = 14, patch = 5)
4848

4949
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
5050

‎app/src/main/java/com/yenaly/han1meviewer/ui/adapter/VideoCommentRvAdapter.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class VideoCommentRvAdapter(private val fragment: Fragment? = null) :
8080

8181
override fun submitList(list: List<VideoComments.VideoComment>?) {
8282
super.submitList(list)
83-
if (fragment != null && fragment is ChildCommentPopupFragment) {
83+
if (list !== items && fragment != null && fragment is ChildCommentPopupFragment) {
8484
list?.map { it.username }?.toSet()?.let(::setUsernameRegex)
8585
}
8686
}
@@ -103,7 +103,7 @@ class VideoCommentRvAdapter(private val fragment: Fragment? = null) :
103103
val regex = usernameRegex
104104
if (regex != null) {
105105
item.content.replaceSpanFirst(regex) { _ ->
106-
HighlightSpan("#ed6a2c")
106+
HighlightSpan(context, R.color.at_person)
107107
}
108108
} else item.content
109109
}

‎app/src/main/res/values/colors.xml

+2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
<color name="red">#FFFF0000</color>
1111
<color name="grey_700">#FF616161</color>
1212

13+
<color name="at_person">#FFED6A2C</color>
1314
<color name="title_mask_color">#66F5F5F5</color>
1415
<color name="search_bar_icon_color">#FF00A1FF</color>
1516
<color name="video_code_link_text_color">#FF1E90FF</color>
17+
1618
<color name="per50_transparent_black">#80000000</color>
1719
<color name="per60_transparent_black">#99000000</color>
1820
<color name="per70_transparent_black">#B3000000</color>

0 commit comments

Comments
 (0)
Please sign in to comment.