fixbug 图标问题,二维码问题
This commit is contained in:
@@ -53,8 +53,8 @@ public class SDAppConfig {
|
||||
if (!TextUtils.isEmpty(storeType)) {
|
||||
this.deviceType = storeType;
|
||||
}
|
||||
if (!TextUtils.isEmpty(storeName)) {
|
||||
this.deviceName = storeName;
|
||||
if ("ERROR_DEVICE_NAME".equals(storeName) || TextUtils.isEmpty(storeName)) {
|
||||
this.deviceName = UUID.randomUUID().toString().replace("-", "");
|
||||
}
|
||||
configSet();
|
||||
}
|
||||
@@ -69,7 +69,9 @@ public class SDAppConfig {
|
||||
public void configSet(Integer spinnerValue, String deviceType) {
|
||||
this.venueId = spinnerValue;
|
||||
this.deviceType = deviceType;
|
||||
if ("ERROR_DEVICE_NAME".equals(this.deviceName)) {
|
||||
this.deviceName = UUID.randomUUID().toString().replace("-", "");
|
||||
}
|
||||
configSet();
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 46 KiB |
Reference in New Issue
Block a user