Anyone tried air frying cod with lemon butter? Worried about it drying out

I’ve been leaning on my air fryer a lot lately for quick dinners, and I want to try cod with lemon butter in it. The idea appeals to me because it’s fast and doesn’t heat up the whole kitchen, which matters in a small Nashville apartment. My worry is that cod seems easy to overcook, and I’ve had fish come out dry and rubbery before. I also don’t know whether the butter should go on before cooking or get brushed on at the end so it doesn’t burn. I found a recipe online mentioning a 20-minute total time, but I haven’t made it and can’t speak to how it turns out. If you’ve cooked cod this way, how did you keep it from drying out, and what thickness of fillet worked for you? Any timing or temperature lessons would help.

That recipe mentioning a 20-minute total time came up when I searched around - Air Fryer Cod Recipe with Lemon Butter (20 Minutes). The timing still seems long for thin fillets, so I’m unsure whether to trust it or start checking earlier to avoid drying out.