fixbug 图标问题,二维码问题
This commit is contained in:
@@ -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;
|
||||||
this.deviceName = UUID.randomUUID().toString().replace("-", "");
|
if ("ERROR_DEVICE_NAME".equals(this.deviceName)) {
|
||||||
|
this.deviceName = UUID.randomUUID().toString().replace("-", "");
|
||||||
|
}
|
||||||
configSet();
|
configSet();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 46 KiB |
Reference in New Issue
Block a user