|
|
@ -205,7 +205,7 @@ public class CheckmarkWidgetView extends HabitWidgetView {
|
|
|
|
private void init()
|
|
|
|
private void init()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HabitsApplicationComponent appComponent;
|
|
|
|
HabitsApplicationComponent appComponent;
|
|
|
|
appComponent = (HabitsApplicationComponent) getContext().getApplicationContext();
|
|
|
|
appComponent = ((HabitsApplication) getContext().getApplicationContext()).getComponent();
|
|
|
|
preferences = appComponent.getPreferences();
|
|
|
|
preferences = appComponent.getPreferences();
|
|
|
|
|
|
|
|
|
|
|
|
ring = (RingView) findViewById(R.id.scoreRing);
|
|
|
|
ring = (RingView) findViewById(R.id.scoreRing);
|
|
|
|