Proper Japanese fonts

This commit is contained in:
Josh Perez 2021-12-07 17:36:47 -05:00 committed by GitHub
parent 983477c354
commit d9990c162e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

View file

@ -500,6 +500,11 @@ export async function startApp(): Promise<void> {
window.document.title = window.getTitle();
document.documentElement.setAttribute(
'lang',
window.getLocale().replace('_', '-')
);
KeyChangeListener.init(window.textsecure.storage.protocol);
window.textsecure.storage.protocol.on('removePreKey', (ourUuid: UUID) => {
const uuidKind = window.textsecure.storage.user.getOurUuidKind(ourUuid);