mirror of https://github.com/readrops/Readrops.git
set background color to item activity title if available
This commit is contained in:
parent
f668f88a60
commit
90d15c57b2
|
@ -124,7 +124,9 @@ public class ItemActivity extends AppCompatActivity {
|
|||
toolbarLayout.setTitle(itemWithFeed.getFeedName());
|
||||
|
||||
title.setText(item.getTitle());
|
||||
if (itemWithFeed.getColor() != 0)
|
||||
if (itemWithFeed.getBgColor() != 0)
|
||||
title.setTextColor(itemWithFeed.getBgColor());
|
||||
else if (itemWithFeed.getColor() != 0)
|
||||
title.setTextColor(itemWithFeed.getColor());
|
||||
|
||||
if (item.getAuthor() != null) {
|
||||
|
|
Loading…
Reference in New Issue