Fix failing tests

This commit is contained in:
2020-11-26 23:47:40 -06:00
parent aa288ac406
commit 49ff9a7edf
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

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