From d7a90b53970416ae7fe5df34270924fc5191e009 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 6 Jun 2019 16:11:22 +0800 Subject: Fixed dark theme in landscape mode. Display the host of the url when the post is a link. --- .../infinityforreddit/PostRecyclerViewAdapter.java | 50 +++++++++++++--------- 1 file changed, 29 insertions(+), 21 deletions(-) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/PostRecyclerViewAdapter.java index f8607c6c..655f9d81 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/PostRecyclerViewAdapter.java @@ -312,6 +312,9 @@ class PostRecyclerViewAdapter extends PagedListAdapter { CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); @@ -360,7 +363,10 @@ class PostRecyclerViewAdapter extends PagedListAdapter { CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); @@ -569,27 +575,28 @@ class PostRecyclerViewAdapter extends PagedListAdapter