mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-12 00:38:44 +00:00
Update SFilterUtil.java
crash fix for Android
This commit is contained in:
@@ -216,7 +216,7 @@ public class SFilterUtil {
|
||||
}
|
||||
entry.append(ch);
|
||||
}
|
||||
if (!entry.isEmpty()) {
|
||||
if (entry.length() != 0) { // Android API isEmpty() is unavailable. https://developer.android.com/reference/java/lang/StringBuilder
|
||||
splitText.add(entry.toString());
|
||||
}
|
||||
return splitText;
|
||||
|
||||
Reference in New Issue
Block a user