You should check your contract of employment too. You're still officially an "employee" of your company and, if the contract has an exclusivity clause, your employer may have an issue with you working during maternity leave. This would be separate to SW's attitude towards it...