mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Small readability improvement (A100)"
This commit is contained in:
commit
21e5759e8e
@ -125,8 +125,8 @@ public class BinaryDictionary extends Dictionary {
|
||||
|
||||
final int count;
|
||||
if (composer.size() <= 1) {
|
||||
count = TextUtils.isEmpty(prevWord) ? -1 : getBigramsInternal(composer,
|
||||
prevWordCodePointArray);
|
||||
if (TextUtils.isEmpty(prevWord)) return null;
|
||||
count = getBigramsInternal(composer, prevWordCodePointArray);
|
||||
} else {
|
||||
count = getWordsInternal(composer, prevWordCodePointArray, proximityInfo);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user