mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-02-21 06:10:45 +01:00
minor code style update
This commit is contained in:
parent
0ead92bab0
commit
15169a6280
@ -63,7 +63,6 @@ fun parseRawEmojiSpecsFile(context: Context, path: String): MutableList<String>
|
|||||||
return emojis
|
return emojis
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fun parseRawJsonSpecsFile(context: Context, path: String): HashMap<String, String> {
|
fun parseRawJsonSpecsFile(context: Context, path: String): HashMap<String, String> {
|
||||||
if (cachedVNTelexData.isNotEmpty()) {
|
if (cachedVNTelexData.isNotEmpty()) {
|
||||||
return cachedVNTelexData
|
return cachedVNTelexData
|
||||||
@ -80,8 +79,7 @@ fun parseRawJsonSpecsFile(context: Context, path: String): HashMap<String, Strin
|
|||||||
val value = rulesObj.getString(key)
|
val value = rulesObj.getString(key)
|
||||||
cachedVNTelexData[key] = value
|
cachedVNTelexData[key] = value
|
||||||
}
|
}
|
||||||
} catch (ex: Exception) {
|
} catch (ignored: Exception) {
|
||||||
ex.printStackTrace()
|
|
||||||
return HashMap()
|
return HashMap()
|
||||||
}
|
}
|
||||||
return cachedVNTelexData
|
return cachedVNTelexData
|
||||||
|
Loading…
x
Reference in New Issue
Block a user