Sefaria / Sefaria-Mobile

Sefaria for iOS and Android
http://www.sefaria.org
32 stars 20 forks source link

Fix - showing the correct current versions #92

Closed edamboritz closed 1 year ago

edamboritz commented 1 year ago

There was some weirdness with the wrapping Promise in ReaderApp.setCurrVersions() causing (I think) the disabled property on each currVersion not to be set in time to coincide with the textLanguage changing. So the text language changed but the current versions were mislabeled until a second press on the same toggle value allowed the change through. This PR just circumnavigates that by checking the text language directly fro which "current versions" should appear in the about box.

shortcut-integration[bot] commented 1 year ago

This pull request has been linked to Shortcut Story #820: version about info on app doesn't appear in the same language as the text.