We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b93a823 commit 1c532e8Copy full SHA for 1c532e8
Simplenote/src/main/java/com/automattic/simplenote/widgets/SimplenoteEditText.java
@@ -73,6 +73,13 @@ public boolean enoughToFilter() {
73
return false;
74
}
75
76
+ // solves a crash after updating dependencies in which this method
77
+ // gets called in super() instantiation before the mTokenizer variable
78
+ // is instantiated
79
+ if (mTokenizer == null) {
80
+ return false;
81
+ }
82
+
83
int start = mTokenizer.findTokenStart(text, end);
84
return start > 0 && end - start >= 1;
85
0 commit comments