The things that are going to prolong or effect cure/dry time of the clear coat or second coat is
- Temperature
- Environment
- Weather
- Materials being used
- The one who did the painting job
- The products
If your buddy is a pro painter knew what he was doing and used quality product you're down to weather, temp and environment.
And those will only slow it down not prevent it from curing/drying.
If you live where its dry and over 65 degrees within 3 days after the paint job its fine. If your trucks been parked in the sun for longer than 48hrs total since you’ve had the cap painted it’s cured.
Wash and wax your truck tomorrow or wait 90 days. It’s your truck and your friend who painted it. You know better than I do.