Skip to content

Commit

Permalink
替换蓝奏云为123盘
Browse files Browse the repository at this point in the history
  • Loading branch information
teble committed Oct 28, 2023
1 parent 1ed4394 commit cbb3a30
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const val PACKAGE_NAME_QQ_LITE = "com.tencent.qqlite"
const val PACKAGE_NAME_QQ_INTERNATIONAL = "com.tencent.mobileqqi"
const val JUMP_ACTIVITY = "com.tencent.mobileqq.activity.JumpActivity"
const val PACKAGE_NAME_SELF = BuildConfig.APPLICATION_ID
const val PAN_URL = "https://teble.lanzoui.com/b00t9lw3a"
const val PAN_URL = "https://www.123pan.com/s/suekjv-bG4md.html"
const val GITHUB_RELEASE_URL = "https://github.com/LuckyPray/XAutoDaily/releases"
const val ALIPAY_QRCODE = "tsx060790flcdxvkynija2e"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ suspend fun Activity.openAppUpdateDialog() {
setNeutralButton("本次更新不再提示") { _, _ ->
ConfUnit.skipUpdateVersion = "${ConfUnit.metaInfoCache?.app?.versionCode}"
}
setNegativeButton("蓝奏云") { _, _ ->
setNegativeButton("123盘") { _, _ ->
context.startActivity(Intent().apply {
action = Intent.ACTION_VIEW
data = Uri.parse(PAN_URL)
Expand Down
15 changes: 12 additions & 3 deletions app/src/main/java/me/teble/xposed/autodaily/ui/DiaLog.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
package me.teble.xposed.autodaily.ui

import android.annotation.SuppressLint
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material.*
import androidx.compose.material.MaterialTheme
import androidx.compose.material.OutlinedTextField
import androidx.compose.material.Surface
import androidx.compose.material.Text
import androidx.compose.material.TextButton
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
Expand Down Expand Up @@ -270,7 +279,7 @@ fun UpdateDialog(
Text(text = "返回")
}
TextButton(onClick = onLanzou) {
Text(text = "蓝奏云")
Text(text = "123盘")
}
TextButton(onClick = onGithub) {
Text(text = "Github")
Expand Down

0 comments on commit cbb3a30

Please sign in to comment.