mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-13 01:08:06 +00:00
Update SFilterUtil.java
crash fix for Android
This commit is contained in:
@@ -216,7 +216,7 @@ public class SFilterUtil {
|
|||||||
}
|
}
|
||||||
entry.append(ch);
|
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());
|
splitText.add(entry.toString());
|
||||||
}
|
}
|
||||||
return splitText;
|
return splitText;
|
||||||
|
|||||||
Reference in New Issue
Block a user