fixbug 图标问题,二维码问题

This commit is contained in:
limqhz
2020-09-01 23:32:32 +08:00
parent d79b1aed42
commit 78524e25fa
2 changed files with 5 additions and 3 deletions

View File

@@ -53,8 +53,8 @@ public class SDAppConfig {
if (!TextUtils.isEmpty(storeType)) { if (!TextUtils.isEmpty(storeType)) {
this.deviceType = storeType; this.deviceType = storeType;
} }
if (!TextUtils.isEmpty(storeName)) { if ("ERROR_DEVICE_NAME".equals(storeName) || TextUtils.isEmpty(storeName)) {
this.deviceName = storeName; this.deviceName = UUID.randomUUID().toString().replace("-", "");
} }
configSet(); configSet();
} }
@@ -69,7 +69,9 @@ public class SDAppConfig {
public void configSet(Integer spinnerValue, String deviceType) { public void configSet(Integer spinnerValue, String deviceType) {
this.venueId = spinnerValue; this.venueId = spinnerValue;
this.deviceType = deviceType; this.deviceType = deviceType;
if ("ERROR_DEVICE_NAME".equals(this.deviceName)) {
this.deviceName = UUID.randomUUID().toString().replace("-", ""); this.deviceName = UUID.randomUUID().toString().replace("-", "");
}
configSet(); configSet();
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 46 KiB