Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

設定画面からUI言語を変更したらブラックアウトする #3

Conversation

samunohito
Copy link

原因

  1. 設定画面からUI言語を変更する
  2. ローカルストレージからlocale(UIの文言が格納された値)が削除される
  3. 強制リロード
  4. 本来であればここで変更後のUI言語ファイルがDL→ローカルストレージのlocaleに再設定される…が、localeVersionは変わってないのでその処理が行われない
  5. ただlocaleが消えただけになり、文言データが行方不明に
  6. 描画失敗(ブラックアウト)

対策

2の段階でlocaleVersionも一緒に消すようにして4が狙い通りに動くようにした

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants