更新了编辑配置文件的时候,模型类型名称没有跟上的bug
This commit is contained in:
@@ -130,7 +130,6 @@ class SecondActivity : AppCompatActivity() {
|
||||
tvName.text = "Name: ${config.name}"
|
||||
tvName.setTextColor(Color.BLACK)
|
||||
|
||||
|
||||
// 获取并设置 URL 的 TextView 前景色和背景色
|
||||
val tvUrl = configView.findViewById<TextView>(R.id.tvUrl)
|
||||
tvUrl.text = "URL: ${config.url}"
|
||||
@@ -172,6 +171,7 @@ class SecondActivity : AppCompatActivity() {
|
||||
etApiUrl.setText(config.url)
|
||||
etApiKey.setText(config.key)
|
||||
etApiSecretKey.setText(config.secretKey)
|
||||
etApiModel.setText(config.model)
|
||||
// 设置编辑状态
|
||||
editingId = config.id
|
||||
btnSave.text = "更新配置"
|
||||
|
||||
Reference in New Issue
Block a user