mac
2024-04-29 20ad67e1db72d7a8c2824bc75398e37af6b10d66
app/src/main/java/com/hdl/photovoltaic/base/BaseActivity.java
@@ -52,9 +52,10 @@
    @Override
    protected void attachBaseContext(Context newBase) {
        super.attachBaseContext(newBase);
        //app中英文设置
        LocalManageUtil.changeAppLanguage(UserConfigManage.getInstance().getCurrentAppLanguage(), newBase);
        super.attachBaseContext(newBase);
    }
@@ -107,10 +108,10 @@
        super.onDestroy();
        //隐藏Loading
        hideLoading();
        //注销EventBus
        unregisterEventBus();
        //移除Activity
        AppManagerUtils.getAppManager().removeActivity(this);
        //注销EventBus
        unregisterEventBus();
    }