|
|
@@ -419,11 +419,12 @@ public class BusinessManageHomeActivity extends MvpBaseActivity<BusinessManageHo
|
|
|
mAddCompanyBtn.setVisibility(View.VISIBLE);
|
|
|
mAddProjectBtn.setVisibility(View.GONE);
|
|
|
mAddOemBtn.setVisibility(View.GONE);
|
|
|
- }
|
|
|
- if (mMenuPopupWindow != null) {
|
|
|
- View view = getWindow().findViewById(R.id.add_item);
|
|
|
- mMenuPopupWindow.showAsDropDown(view);
|
|
|
- DisplayUtil.backgroundAlpha(mContext, 0.5f);
|
|
|
+
|
|
|
+ if (mMenuPopupWindow != null) {
|
|
|
+ View view = getWindow().findViewById(R.id.add_item);
|
|
|
+ mMenuPopupWindow.showAsDropDown(view);
|
|
|
+ DisplayUtil.backgroundAlpha(mContext, 0.5f);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|