mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Remove spacer images
This commit is contained in:
@@ -1000,6 +1000,20 @@ public class Helper {
|
||||
return true;
|
||||
}
|
||||
|
||||
static Integer parseInt(String text) {
|
||||
if (TextUtils.isEmpty(text))
|
||||
return null;
|
||||
|
||||
if (!TextUtils.isDigitsOnly(text))
|
||||
return null;
|
||||
|
||||
try {
|
||||
return Integer.parseInt(text);
|
||||
} catch (NumberFormatException ignored) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Files
|
||||
|
||||
static String sanitizeFilename(String name) {
|
||||
|
||||
Reference in New Issue
Block a user