We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48b797e commit a9d1ba1Copy full SHA for a9d1ba1
app/src/main/java/me/teble/xposed/autodaily/ui/MainLayout.kt
@@ -81,7 +81,7 @@ fun MainLayout(navController: NavHostController) {
81
fetchMeta()
82
}
83
meta ?: ToastUtil.send("拉取公告失败")
84
- notice.value = meta?.notice ?: ""
+ notice.value = meta?.notice?.trimEnd() ?: ""
85
86
87
if (showUpdateDialog.value) {
app/src/main/java/me/teble/xposed/autodaily/utils/NativeUtil.kt
@@ -12,7 +12,7 @@ object NativeUtil {
12
private val is64Bit: Boolean
13
get() {
14
val clazz = Class.forName("dalvik.system.VMRuntime")
15
- return clazz.new().invoke("is64Bit") as Boolean
+ return clazz.invoke("getRuntime")!!.invoke("is64Bit") as Boolean
16
17
18
private fun getLibFilePath(name: String): String {
0 commit comments