mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-02-16 19:50:53 +01:00
Simplify an if
This commit is contained in:
parent
9eeebc67ee
commit
634322af33
@ -92,11 +92,7 @@ public abstract class DrawableHolder {
|
||||
}
|
||||
|
||||
public static DrawableHolder parse(String str) {
|
||||
DrawableHolder icon = builtin(str);
|
||||
if (icon != null) {
|
||||
return icon;
|
||||
}
|
||||
return null;
|
||||
return builtin(str);
|
||||
}
|
||||
|
||||
public static List<DrawableHolder> builtins() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user