mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Fixes #426: Crash fix caused by NPE
This commit is contained in:
parent
46f081d652
commit
6cecaf9e8c
2 changed files with 10 additions and 3 deletions
|
|
@ -312,4 +312,8 @@ public class Utils {
|
|||
}
|
||||
return title;
|
||||
}
|
||||
|
||||
public static boolean isNullOrWhiteSpace(String value) {
|
||||
return value == null || value.trim().isEmpty();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue