修复语言问题
This commit is contained in:
@@ -73,7 +73,11 @@ public class LanguageSettingActivity extends AbsActivity {
|
||||
allActivityStacks.get(i).finish();
|
||||
}
|
||||
}
|
||||
IMLoginManager.get(mContext).setLanguage(locale != Locale.SIMPLIFIED_CHINESE);
|
||||
IMLoginManager.get(mContext).setLanguage(locale != Locale.SIMPLIFIED_CHINESE
|
||||
&& locale != Locale.TRADITIONAL_CHINESE
|
||||
&& locale != Locale.CHINESE
|
||||
&& locale != Locale.CHINA
|
||||
);
|
||||
startActivity(new Intent(mContext, MainActivity.class));
|
||||
finish();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user