Fix on launch crash

This commit is contained in:
Tanguy Herbron 2018-02-09 00:01:10 +01:00
parent fdd059b956
commit ddb618f4fa

View File

@ -95,6 +95,8 @@ public class HomeLayoutGenerator {
((ImageView) view.findViewById(R.id.detailsArrow))
.getDrawable().setColorFilter(new PorterDuffColorFilter(currency.getChartColor(), PorterDuff.Mode.SRC_IN));
if(currency.getHistoryMinutes() != null)
{
List<Double> borders = getAxisBorders(currency);
LineChartView chartView = (LineChartView) view.findViewById(R.id.LineChartView);
@ -114,6 +116,7 @@ public class HomeLayoutGenerator {
context.getApplicationContext().startActivity(intent);
}
});
}
if(isExtended)
{