fix:修复分享复制链接点击无响应

This commit is contained in:
Max
2024-01-20 16:32:40 +08:00
parent 4e6a5e0fa5
commit 718e4eb76d

View File

@@ -29,7 +29,7 @@ public class ShareDialog extends BottomSheetDialog implements View.OnClickListen
public static final int TYPE_SHARE_H5 = 4;
private final Context context;
// private TextView tvLink;
private TextView tvLink;
// private TextView tvLine;
private TextView tvCancel;
private static final String TAG = "ShareDialog";
@@ -52,11 +52,11 @@ public class ShareDialog extends BottomSheetDialog implements View.OnClickListen
setContentView(R.layout.dialog_share);
setCanceledOnTouchOutside(true);
// tvLine = findViewById(R.id.tv_line);
// tvLink = findViewById(R.id.tv_share_link);
tvLink = findViewById(R.id.tv_share_link);
tvCancel = findViewById(R.id.tv_cancel);
// tvLine.setOnClickListener(this);
// tvLink.setOnClickListener(this);
tvLink.setOnClickListener(this);
tvCancel.setOnClickListener(this);
FrameLayout bottomSheet = findViewById(R.id.design_bottom_sheet);
if (bottomSheet != null) {