File tree 6 files changed +14
-4
lines changed
java/com/yenaly/han1meviewer/ui/adapter
6 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 3
3
on :
4
4
push :
5
5
branches : [ "master" ]
6
+ paths-ignore :
7
+ - " **.md"
6
8
7
9
jobs :
8
10
build :
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: Pull Request Check
3
3
on :
4
4
pull_request :
5
5
branches : [ "master" ]
6
+ paths-ignore :
7
+ - " **.md"
6
8
7
9
jobs :
8
10
check :
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ GitHub 上的补充。目前是随着版本更新来更新共享关键H帧集,
168
168
169
169
### v0.14.5
170
170
171
- ** [ 调整] ** 微调新番导览界面视觉效果 。
171
+ ** [ 调整] ** 首页和新番导览部分界面视觉优化 。
172
172
173
173
** [ 更改] ** 默认开启 采用共享关键H帧集。
174
174
@@ -184,6 +184,10 @@ GitHub 上的补充。目前是随着版本更新来更新共享关键H帧集,
184
184
185
185
** [ 优化] ** 共享关键H帧已分类排序,因此 JSON 需要新增两个键值。
186
186
187
+ ** [ 新增] ** 设置中协助打开 Deep Links 支持。
188
+
189
+ ** [ 新增] ** 子评论中用颜色标注 @ 用户。
190
+
187
191
### v0.14.0
188
192
189
193
** [ 新增] ** CI 更新频道。现在可以在设置里选择更新频道了,有稳定版和 CI 版两个频道。并且可以调整更新弹窗间隔。
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ android {
44
44
minSdk = libs.versions.minSdk.fetch<Int >()
45
45
targetSdk = libs.versions.targetSdk.fetch<Int >()
46
46
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 )
48
48
49
49
testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
50
50
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ class VideoCommentRvAdapter(private val fragment: Fragment? = null) :
80
80
81
81
override fun submitList (list : List <VideoComments .VideoComment >? ) {
82
82
super .submitList(list)
83
- if (fragment != null && fragment is ChildCommentPopupFragment ) {
83
+ if (list != = items && fragment != null && fragment is ChildCommentPopupFragment ) {
84
84
list?.map { it.username }?.toSet()?.let (::setUsernameRegex)
85
85
}
86
86
}
@@ -103,7 +103,7 @@ class VideoCommentRvAdapter(private val fragment: Fragment? = null) :
103
103
val regex = usernameRegex
104
104
if (regex != null ) {
105
105
item.content.replaceSpanFirst(regex) { _ ->
106
- HighlightSpan (" #ed6a2c " )
106
+ HighlightSpan (context, R .color.at_person )
107
107
}
108
108
} else item.content
109
109
}
Original file line number Diff line number Diff line change 10
10
<color name =" red" >#FFFF0000</color >
11
11
<color name =" grey_700" >#FF616161</color >
12
12
13
+ <color name =" at_person" >#FFED6A2C</color >
13
14
<color name =" title_mask_color" >#66F5F5F5</color >
14
15
<color name =" search_bar_icon_color" >#FF00A1FF</color >
15
16
<color name =" video_code_link_text_color" >#FF1E90FF</color >
17
+
16
18
<color name =" per50_transparent_black" >#80000000</color >
17
19
<color name =" per60_transparent_black" >#99000000</color >
18
20
<color name =" per70_transparent_black" >#B3000000</color >
You can’t perform that action at this time.
0 commit comments