fix: 补回被误删的 App 版本号显示
补充设备信息字段时,替换代码块时漏掉了 tvAppVersion 赋值行。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -450,6 +450,8 @@ class HomeFragment : BaseFragment<FragmentHomeBinding>() {
|
||||
}
|
||||
configPageView.findViewById<TextView>(R.id.tvBluetoothMac)?.text =
|
||||
devicePrefs.bluetoothMac.ifEmpty { "未知" }
|
||||
configPageView.findViewById<TextView>(R.id.tvAppVersion)?.text =
|
||||
"v${BuildConfig.VERSION_NAME}"
|
||||
// 蓝牙连接状态和电池 — 动态数据,初始化后通过 EventBus 更新
|
||||
updateConfigBluetooth(false)
|
||||
updateConfigBattery(0, false)
|
||||
|
||||
Reference in New Issue
Block a user