mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-30 21:07:11 +01:00
Fix link posts displayed as text posts in PostRecyclerViewAdapter.
This commit is contained in:
parent
2a47c924f5
commit
f2df7e94b1
@ -384,6 +384,7 @@ public class PostRecyclerViewAdapter extends PagedListAdapter<Post, RecyclerView
|
||||
case SharedPreferencesUtils.POST_LAYOUT_COMPACT:
|
||||
return VIEW_TYPE_POST_COMPACT;
|
||||
}
|
||||
return VIEW_TYPE_POST_CARD_WITH_PREVIEW_TYPE;
|
||||
default:
|
||||
return VIEW_TYPE_POST_CARD_TEXT_TYPE;
|
||||
}
|
||||
@ -432,6 +433,7 @@ public class PostRecyclerViewAdapter extends PagedListAdapter<Post, RecyclerView
|
||||
case SharedPreferencesUtils.POST_LAYOUT_COMPACT:
|
||||
return VIEW_TYPE_POST_COMPACT;
|
||||
}
|
||||
return VIEW_TYPE_POST_CARD_2_WITH_PREVIEW_TYPE;
|
||||
default:
|
||||
return VIEW_TYPE_POST_CARD_2_TEXT_TYPE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user