Small improvement

pull/215/head
M66B 7 months ago
parent 5cd476bd44
commit 29ea8b8d4c

@ -298,6 +298,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
ibCopy.setOnClickListener(new View.OnClickListener() { ibCopy.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
final Context context = v.getContext();
ClipboardManager clipboard = Helper.getSystemService(context, ClipboardManager.class); ClipboardManager clipboard = Helper.getSystemService(context, ClipboardManager.class);
if (clipboard == null) if (clipboard == null)
return; return;

Loading…
Cancel
Save