parent
3970352ea9
commit
4ac28ded28
|
@ -894,7 +894,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
// Check that expected word matches.
|
// Check that expected word matches.
|
||||||
if (oldLogUnit != null) {
|
if (oldLogUnit != null) {
|
||||||
final String oldLogUnitWord = oldLogUnit.getWord();
|
final String oldLogUnitWord = oldLogUnit.getWord();
|
||||||
if (!oldLogUnitWord.equals(expectedWord)) {
|
if (oldLogUnitWord != null && !oldLogUnitWord.equals(expectedWord)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue