|
|
@ -34,7 +34,7 @@ import android.widget.TextView;
|
|
|
|
import org.isoron.helpers.ColorHelper;
|
|
|
|
import org.isoron.helpers.ColorHelper;
|
|
|
|
import org.isoron.helpers.Command;
|
|
|
|
import org.isoron.helpers.Command;
|
|
|
|
import org.isoron.helpers.DialogHelper;
|
|
|
|
import org.isoron.helpers.DialogHelper;
|
|
|
|
import org.isoron.uhabits.MainActivity;
|
|
|
|
import org.isoron.uhabits.HabitBroadcastReceiver;
|
|
|
|
import org.isoron.uhabits.R;
|
|
|
|
import org.isoron.uhabits.R;
|
|
|
|
import org.isoron.uhabits.ShowHabitActivity;
|
|
|
|
import org.isoron.uhabits.ShowHabitActivity;
|
|
|
|
import org.isoron.uhabits.dialogs.HistoryEditorDialog;
|
|
|
|
import org.isoron.uhabits.dialogs.HistoryEditorDialog;
|
|
|
@ -174,7 +174,7 @@ public class ShowHabitFragment extends Fragment
|
|
|
|
public void onHistoryEditorClosed()
|
|
|
|
public void onHistoryEditorClosed()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
refreshData();
|
|
|
|
refreshData();
|
|
|
|
MainActivity.updateWidgets(getActivity());
|
|
|
|
HabitBroadcastReceiver.sendRefreshBroadcast(getActivity());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void refreshData()
|
|
|
|
private void refreshData()
|
|
|
|