Extending a APFS partition
i have just removed boot camp from a customers macbook air.
when using the boot camp assistant, i was under the impression it would restore the mac partition back to using the full drive upon removing the windows side.
but it hasnt and i cant see any obvious way in disk util of extending the APFS partion to make use of the new unused space.
just read a guide that said this terminal command would do the task i require, is this correct?
diskutil apfs resizeContainer disk0s2 0