fixed trends tab

This commit is contained in:
Mariotaku Lee 2017-02-05 15:24:20 +08:00
parent 60ae50f05f
commit 22c86816b8
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
2 changed files with 8 additions and 1 deletions

View File

@ -79,7 +79,8 @@ public class TabArguments implements TwidereConstants {
switch (type) {
case CustomTabType.HOME_TIMELINE:
case CustomTabType.NOTIFICATIONS_TIMELINE:
case CustomTabType.DIRECT_MESSAGES: {
case CustomTabType.DIRECT_MESSAGES:
case CustomTabType.TRENDS_SUGGESTIONS: {
return LoganSquare.parse(json, TabArguments.class);
}
case CustomTabType.USER_TIMELINE:

View File

@ -172,6 +172,12 @@ public abstract class DrawableHolder {
return "favorite";
}
@Nullable
@Override
public String getName() {
return "Favorite/Like";
}
@NonNull
@Override
public Drawable createDrawable(Context context) {