File tree Expand file tree Collapse file tree
src/main/java/momoi/mod/qqpro Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ dependencies {
4848}
4949
5050apkMixin {
51- versionName = " 1.4.1 "
51+ versionName = " 1.5 "
5252 targetApk = " source.apk"
5353 useProcessorCountAsThreadCount = project.properties[" useProcessorCountAsThreadCount" ] == " true"
5454
Original file line number Diff line number Diff line change @@ -6,15 +6,21 @@ import momoi.mod.qqpro.util.Utils
66
77object Settings {
88 val sp: SharedPreferences = Utils .application.getSharedPreferences(" qqpro" , 0 )
9- const val VERSION_CODE = 8
9+ const val VERSION_CODE = 9
1010 val scale = FloatPref (" scale" , 0.9f )
1111 val chatScale = FloatPref (" chatScale" , 0.93f )
1212 val enableSmoothScroll = BooleanPref (" enableSmoothScroll" , false )
1313 val blockBack = BooleanPref (" blockBack" , false )
1414 val swapCenterKeyboard = BooleanPref (" swapCenterKeyboard" , false )
1515
1616 private val moye = Utils .application.getSharedPreferences(" wearqq" , 0 )
17- val text get() = moye.getString(" voice_btn_text" , " " )!!
17+ val text get() = moye.getString(" voice_btn_text" , " " )?.let {
18+ if (it == " QQ" ) {
19+ " "
20+ } else {
21+ it
22+ }
23+ } ? : " "
1824}
1925
2026abstract class Pref <T >(def : T ) {
Original file line number Diff line number Diff line change @@ -20,19 +20,17 @@ class 版权信息 : SelfFragment() {
2020 val result = super .Y (inflater, container, savedInstanceState)
2121 val tv = result.findViewById<TextView >(2114521808 )
2222 tv.text = buildString {
23- appendLine(" QQPro - v1.4.1 " )
23+ appendLine(" QQPro - v1.5 " )
2424 appendLine()
2525 appendLine(" 更新日志:" )
26- appendLine(" 现在可以展示卡片信息和跳转链接" )
27- appendLine(" 大部分文本都兼容了缩放设置" )
28- appendLine(" 优化了长图缩放效果" )
29- appendLine(" 修复了回复消息内容显示问题" )
30- appendLine(" 移除了跳转未读消息的滚动动画" )
31- appendLine(" 修复圆屏长按菜单错位问题" )
32- appendLine(" 对Hook代码层进行了一些调整" )
26+ appendLine(" 修复回复有关的闪退bug" )
27+ appendLine(" 现在有概率看见卡片消息的图片了" )
28+ appendLine(" 聊天信息里的链接可以点开" )
29+ appendLine(" 管理可以撤回群成员消息" )
30+ appendLine(" 聊天中现在显示群头衔和等级" )
3331 appendLine()
3432 appendLine(" 交流群:392106734" )
35- appendLine(" 2025/05/17 " )
33+ appendLine(" 2025/06/14 " )
3634 }
3735 return result
3836 }
You can’t perform that action at this time.
0 commit comments