You could always just let things take its course over the next few months and see what happens.
BUT as a general rule -
It's NEVER OK to quit via text UNLESS you are an unprofessional, self-centered brat. Unless, of course, you are done with music forever and don't mind other musicians talking...