mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-25 15:27:45 +00:00
Merge pull request #5534 from keymanapp/fix/android/5509-json-parse-font-empty-string-check
fix(android): avoid error with empty font data
This commit is contained in:
commit
ca2195e332
1 changed files with 1 additions and 1 deletions
|
|
@ -1048,7 +1048,7 @@ final class KMKeyboard extends WebView {
|
|||
*/
|
||||
private JSONObject makeFontPaths(String font) {
|
||||
|
||||
if(font == null) {
|
||||
if(font == null || font.equals("")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue