mirror of
https://github.com/yuliskov/LeanKeyboard.git
synced 2026-04-19 06:26:56 -04:00
freeze fix 2
This commit is contained in:
@@ -94,6 +94,10 @@ public class KeyboardManager {
|
||||
load();
|
||||
}
|
||||
|
||||
if (mAllKeyboards.size() <= mKeyboardIndex) {
|
||||
mKeyboardIndex = 0;
|
||||
}
|
||||
|
||||
return mAllKeyboards.get(mKeyboardIndex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user