Improved address validation

This commit is contained in:
M66B
2020-04-21 16:06:26 +02:00
parent bfa1bed52e
commit d17b7431a0
3 changed files with 66 additions and 58 deletions

View File

@@ -710,13 +710,6 @@ public class Helper {
return DateUtils.getRelativeTimeSpanString(context, millis);
}
static String ellipsize(String text, int maxLen) {
if (text == null || text.length() < maxLen) {
return text;
}
return text.substring(0, maxLen) + "...";
}
static String localizeFolderType(Context context, String type) {
int resid = context.getResources().getIdentifier(
"title_folder_" + type.toLowerCase(Locale.ROOT),