修复UserManager equals判断问题
This commit is contained in:
@ -70,7 +70,7 @@ public class UserManager {
|
||||
if (TextUtils.isEmpty(mCommunityId) || !mCommunityId.equals(communityId)) {
|
||||
PreferenceManager.getDefaultSharedPreferences(context).edit().putString(COMMUNITY_ID, communityId).apply();
|
||||
}
|
||||
if (TextUtils.isEmpty(mCommunityId) || !mCommunityName.equals(communityName)) {
|
||||
if (TextUtils.isEmpty(mCommunityName) || !mCommunityName.equals(communityName)) {
|
||||
PreferenceManager.getDefaultSharedPreferences(context).edit().putString(COMMUNITY_NAME, communityName).apply();
|
||||
}
|
||||
this.mCommunityId = communityId;
|
||||
|
||||
Reference in New Issue
Block a user