修改bug

This commit is contained in:
Caiyanpeng committed 2022-04-02 18:15:09 +08:00
1 parent 30e09c9c7a
commit 0a4925bb39
5 files changed
+19 -14

No files matched your search

@@ -22,7 +22,6 @@ public class ConnectDeviceModal : PFUIPanel
}
set
{
//Debug.Log(value);
mSensorType = value;
var deviceInfoStr = Utils.deviceDict[value.ToString()];
if (deviceInfoStr != null)
@@ -30,7 +29,7 @@ public class ConnectDeviceModal : PFUIPanel
var deviceInfo = deviceInfoStr.Split('|');
if (deviceInfo.Length == 2)
{
Title.text = deviceInfo[0];
Title.text = App.GetLocalString(deviceInfo[0]);
Logo.sprite = Resources.Load<Sprite>(deviceInfo[1]);
}
}