Don’t worry about a fix being “primitive” or basic keep it as simple as possible, just make it work.
You can make it elegant later or refine it later. Just keep it simple and make it work first.
Later when you’re sleeping or in the shower you will think of a better way to do it