Fix KeyboardId being null causing crash

This commit is contained in:
Aleksandras Kostarevas 2024-09-20 22:28:44 +03:00
parent 3efcbf730f
commit 9f40bfd574

View File

@ -287,6 +287,7 @@ public final class MoreKeysKeyboard extends Keyboard {
DynamicThemeProvider provider = DynamicThemeProvider.obtainFromContext(context); DynamicThemeProvider provider = DynamicThemeProvider.obtainFromContext(context);
mParams.mId = keyboard.mId;
mParams.mIconsSet.loadIcons(null, provider); mParams.mIconsSet.loadIcons(null, provider);
mParams.mThemeId = 3; mParams.mThemeId = 3;
mParams.mTextsSet.setLocale(keyboard.mId.mLocale, context); mParams.mTextsSet.setLocale(keyboard.mId.mLocale, context);