From e63370799ee8f8defdf343d2e8a220b43b6968cf Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 25 Feb 2020 10:57:40 +0000 Subject: [PATCH] make BasePlatform::setLanguage sync, handle promises internally Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/BasePlatform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BasePlatform.js b/src/BasePlatform.js index 295f99f6b4..a935f4a767 100644 --- a/src/BasePlatform.js +++ b/src/BasePlatform.js @@ -163,5 +163,5 @@ export default class BasePlatform { return null; } - async setLanguage(preferredLangs: string[]): Promise {} + setLanguage(preferredLangs: string[]) {} }