Skip to content

Commit

Permalink
update ProfileFragment.java
Browse files Browse the repository at this point in the history
  • Loading branch information
harperhpliu committed Jun 28, 2022
1 parent 964e1d6 commit 8319979
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
import android.view.View;
import android.view.ViewGroup;

import com.tencent.imsdk.v2.V2TIMCallback;
import com.tencent.qcloud.tim.demo.R;
import com.tencent.qcloud.tim.demo.bean.UserInfo;
import com.tencent.qcloud.tim.demo.utils.TUIKitConstants;
import com.tencent.qcloud.tim.demo.utils.TUIUtils;
import com.tencent.qcloud.tuicore.TUILogin;
import com.tencent.qcloud.tuicore.component.dialog.TUIKitDialog;
import com.tencent.qcloud.tuicore.component.fragments.BaseFragment;
import com.tencent.qcloud.tuicore.interfaces.TUICallback;
import com.tencent.qcloud.tuicore.util.ToastUtil;


Expand Down Expand Up @@ -47,7 +47,7 @@ public void onClick(View v) {
.setPositiveButton(getString(R.string.sure), new View.OnClickListener() {
@Override
public void onClick(View v) {
TUILogin.logout(new TUICallback() {
TUILogin.logout(new V2TIMCallback() {
@Override
public void onSuccess() {
UserInfo.getInstance().cleanUserInfo();
Expand Down

0 comments on commit 8319979

Please sign in to comment.