解决设备页标题显示错误的问题
This commit is contained in:
parent
8dfd4d696c
commit
ebe3dc11e6
@ -117,6 +117,7 @@ public class DeviceView : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
InitLogo();
|
InitLogo();
|
||||||
|
title.text = GetTitle();
|
||||||
|
|
||||||
connectionPanel.SetActive(false);
|
connectionPanel.SetActive(false);
|
||||||
|
|
||||||
@ -226,9 +227,7 @@ public class DeviceView : MonoBehaviour
|
|||||||
|
|
||||||
logo.sprite = sprite0;
|
logo.sprite = sprite0;
|
||||||
noDevice.text = "NO DEVICE";
|
noDevice.text = "NO DEVICE";
|
||||||
searchState.text = "Searching...";
|
searchState.text = "Searching...";
|
||||||
|
|
||||||
title.text = GetTitle();
|
|
||||||
|
|
||||||
var hasDevice = App.MainDeviceAdapter.GetDevices().Any(d => d.Sensor == SensorType);
|
var hasDevice = App.MainDeviceAdapter.GetDevices().Any(d => d.Sensor == SensorType);
|
||||||
if (hasDevice)
|
if (hasDevice)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user