This commit is contained in:
Christine Emrich 2015-11-27 15:22:09 +01:00
parent e7979593ca
commit 8a667322b6

View file

@ -363,7 +363,7 @@ public class NewsReaderDetailFragment extends Fragment {
super.onInflate(context, attrs, savedInstanceState);
TypedArray a = context.obtainStyledAttributes(attrs,new int[]{R.attr.markasreadDrawable,R.attr.colorAccent});
markAsReadDrawable = a.getDrawable(0);
accentColor = ContextCompat.getColor(getContext(), R.color.owncloudBlueLight);
accentColor = ContextCompat.getColor(context, R.color.owncloudBlueLight);
a.recycle();
}