Fix on launch crash
This commit is contained in:
parent
fdd059b956
commit
ddb618f4fa
@ -95,6 +95,8 @@ public class HomeLayoutGenerator {
|
|||||||
((ImageView) view.findViewById(R.id.detailsArrow))
|
((ImageView) view.findViewById(R.id.detailsArrow))
|
||||||
.getDrawable().setColorFilter(new PorterDuffColorFilter(currency.getChartColor(), PorterDuff.Mode.SRC_IN));
|
.getDrawable().setColorFilter(new PorterDuffColorFilter(currency.getChartColor(), PorterDuff.Mode.SRC_IN));
|
||||||
|
|
||||||
|
if(currency.getHistoryMinutes() != null)
|
||||||
|
{
|
||||||
List<Double> borders = getAxisBorders(currency);
|
List<Double> borders = getAxisBorders(currency);
|
||||||
LineChartView chartView = (LineChartView) view.findViewById(R.id.LineChartView);
|
LineChartView chartView = (LineChartView) view.findViewById(R.id.LineChartView);
|
||||||
|
|
||||||
@ -114,6 +116,7 @@ public class HomeLayoutGenerator {
|
|||||||
context.getApplicationContext().startActivity(intent);
|
context.getApplicationContext().startActivity(intent);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if(isExtended)
|
if(isExtended)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user