1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

make BasePlatform::setLanguage sync, handle promises internally

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2020-02-25 10:57:40 +00:00
parent 9bcea0aeca
commit e63370799e

View File

@@ -163,5 +163,5 @@ export default class BasePlatform {
return null;
}
async setLanguage(preferredLangs: string[]): Promise<void> {}
setLanguage(preferredLangs: string[]) {}
}