j-fbriere / squawker

An open-source privacy oriented Twitter/X client
MIT License
799 stars 16 forks source link

Customized translator settings not applied on Application Restart #324

Open zihu12 opened 2 weeks ago

zihu12 commented 2 weeks ago

Checklist

Affected version

v3.8.3+300016323

Steps to reproduce the bug

  1. Install a network packet inspector that can get the domain name of outgoing requests(or may use other ways to get such data)
  2. Start Application, set translators(remove all embedded then set a customized one)
  3. Start the inspector and try to translate something(should be using the configured translator)
  4. Restart the application and try to translate something again
  5. Check in the inspector the domain name(target instance) of those translation requests

Expected behavior

In consequent request(step 4), the customized instance should be used

Actual behavior

One of the default instance is used

Screenshots/Screen recordings

Screen Recording.zip

image

Logs

No response

Affected Android/Custom ROM version

Android 13/MIUI 14.0.8.0

Affected device model

No response

Additional information

If after restart, go to translator settings the instances will display properly, then click save and they will be active again.

j-fbriere commented 2 weeks ago

Thank you for the information. It helped me fix this issue indeed. The fix will be on the next version. In the meantime you could use an apk from the latest build.