|
@@ -449,8 +449,10 @@ public class WaitDialog extends BaseDialog {
|
|
|
showText(txtInfo, message);
|
|
|
useTextInfo(txtInfo, messageTextInfo);
|
|
|
|
|
|
- if (maskColor != -1) boxRoot.setBackgroundColor(maskColor);
|
|
|
- boxRoot.setBkgAlpha(0f);
|
|
|
+ if (maskColor != -1) {
|
|
|
+ boxRoot.setBackgroundColor(maskColor);
|
|
|
+ boxRoot.setBkgAlpha(0f);
|
|
|
+ }
|
|
|
|
|
|
if (onBindView != null && onBindView.getCustomView() != null) {
|
|
|
onBindView.bindParent(boxCustomView, WaitDialog.this);
|