修复【直播间-多次点击用户名称,弹出多个主页资料框窗口】问题

This commit is contained in:
zlzw 2023-06-28 17:36:22 +08:00
parent 710cddd3a7
commit 1a3d66553c

View File

@ -80,7 +80,9 @@ public abstract class AbsDialogFragment extends DialogFragment {
@Override @Override
public void show(@NonNull FragmentManager manager, @Nullable String tag) { public void show(@NonNull FragmentManager manager, @Nullable String tag) {
try { try {
super.show(manager, tag); if (manager.findFragmentByTag(tag) == null) {
super.show(manager, tag);
}
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }