theolm / WhatsAppNoContact

Start WhatsApp chats without adding numbers to contacts.
MIT License
111 stars 7 forks source link

Make it possible to erase default country code once #34

Closed danielleontiev closed 1 month ago

danielleontiev commented 2 months ago

Describe your suggested feature

If I need to enter a phone number with a country code that does not match my default country code, the only option is to tap the code and remove it in the opened settings window. The next time I use the app, the default country code is gone, so I need to go to the settings again and set it back.

It would be nice to be able to erase the country code with backspace or double backspace while keeping the setting intact so that the next time I use the app, the default country code is preserved.

Other details

No response

Acknowledgements

theolm commented 1 month ago

That's a great idea. I'll work on it.

Thanks for the contribution.

theolm commented 1 month ago

@danielleontiev Done. It will be available in the next release.

danielleontiev commented 1 month ago

Thank you a lot!

danielleontiev commented 1 month ago

Interestingly enough, the feature does not work for me on the latest version of the app. I've tried both f-droid and github release build.

I am on LineageOS 21

theolm commented 1 month ago

Interesting. You are right. Even though the code is in main branch, the F-droid-released version doesn't have it.

I'll take a look at it. Thanks for reporting.

JonnyTech commented 1 month ago

I am on the F-droid version and v0.10.0 works correctly as expected - pressing backspace twice with no phone number entered deletes the country code.

theolm commented 1 month ago

Oh fuck. I just confirmed the issue. It only happens in some keyboards. I'm using FUTO keyboard on my personal phone and it doesn't work. If I change to another keyboard, it works.

@JonnyTech @danielleontiev Thanks for the help.