T12394 Improve SMS URI display in kdeconnect-handler
I understand what you want now. You wanted to separate SMS from the last conditional but still keep the conditional.
Sorry for making extra work for you. I've never done this before (which is probably obvious). I'm learning git, gitlab and QT as I go.