From f89f508a278c8ba757eb8036a9dc0310c9a6c653 Mon Sep 17 00:00:00 2001 From: PahaAkos Date: Wed, 26 Apr 2023 13:17:16 +0200 Subject: [PATCH] Version 3.8.0 --- app/build.gradle.kts | 4 ++-- .../adapter/NewsFeedAdapter.kt | 2 +- .../components/NewsCards.kt | 3 +-- .../rboardthememanager/data/ThemePack.kt | 3 +-- app/src/main/res/values-zh-rCN/strings.xml | 23 +++++++++++++++++++ 5 files changed, 28 insertions(+), 7 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 1680e23c..051616ae 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -24,8 +24,8 @@ android { applicationId = "de.dertyp7214.rboardthememanager" minSdk = 23 targetSdk = 33 - versionCode = 376500 - versionName = "3.7.6" + versionCode = 380000 + versionName = "3.8.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/src/main/java/de/dertyp7214/rboardthememanager/adapter/NewsFeedAdapter.kt b/app/src/main/java/de/dertyp7214/rboardthememanager/adapter/NewsFeedAdapter.kt index 08e08eb8..7a24e5c2 100644 --- a/app/src/main/java/de/dertyp7214/rboardthememanager/adapter/NewsFeedAdapter.kt +++ b/app/src/main/java/de/dertyp7214/rboardthememanager/adapter/NewsFeedAdapter.kt @@ -51,7 +51,7 @@ class NewsFeedAdapter( holder.author.text = "by ${item.author}" holder.card.setOnClickListener { - onCardClicked(ThemePack(item.author, item.url, item.hash, item.title, listOf())) + onCardClicked(ThemePack(item.author, item.url, null, item.title, listOf())) } } diff --git a/app/src/main/java/de/dertyp7214/rboardthememanager/components/NewsCards.kt b/app/src/main/java/de/dertyp7214/rboardthememanager/components/NewsCards.kt index 9e907468..434b31ea 100644 --- a/app/src/main/java/de/dertyp7214/rboardthememanager/components/NewsCards.kt +++ b/app/src/main/java/de/dertyp7214/rboardthememanager/components/NewsCards.kt @@ -80,8 +80,7 @@ class NewsCards(context: Context, attrs: AttributeSet? = null) : LinearLayout(co val image: String, val author: String, val title: String, - val url: String, - val hash: String + val url: String ) { var bitmap: Bitmap? = null private set diff --git a/app/src/main/java/de/dertyp7214/rboardthememanager/data/ThemePack.kt b/app/src/main/java/de/dertyp7214/rboardthememanager/data/ThemePack.kt index 91a9ccda..c2bfa494 100644 --- a/app/src/main/java/de/dertyp7214/rboardthememanager/data/ThemePack.kt +++ b/app/src/main/java/de/dertyp7214/rboardthememanager/data/ThemePack.kt @@ -44,6 +44,5 @@ data class ThemePack( } companion object { - val NONE = ThemePack("", "", "", "", listOf(), listOf(), 0, null, true) - } + val NONE = ThemePack("", "", null, "", listOf(), listOf(), 0, null, true) } } \ No newline at end of file diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index ef68b808..3e21d0da 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -222,4 +222,27 @@ 包含的主题 Names 有更新可用 (%s) 帮助 + + 发现新的flag值 + App风格 + 输入法测试 + Rboard 输入法测试 + 不root怎么用? + 获取Magisk + 未检测到Magisk + 目前没有root权限无法使用,这意味着任何adb命令都是徒劳 尽管我们尝试了所有方法,但始终无效 + 我们提供两种安装途径\n你可以随时在设置中切换 + 模块 + Gboard内置 + 为明暗模式分别设计的主题 + 编辑圆角和填充属性 + 更改声音 + 在ColorOS上无效 + 在MIUI上存在问题 + 主题的基本下载和安装 + 无需Magisk模块 + 更改声音无法生效 + 主题不会在Gboard设置中显示 + 兼容性 + 哈希值不匹配