mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Update widgets after history editor closes
This commit is contained in:
@@ -34,6 +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.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;
|
||||||
@@ -173,6 +174,7 @@ public class ShowHabitFragment extends Fragment
|
|||||||
public void onHistoryEditorClosed()
|
public void onHistoryEditorClosed()
|
||||||
{
|
{
|
||||||
refreshData();
|
refreshData();
|
||||||
|
MainActivity.updateWidgets(getActivity());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void refreshData()
|
private void refreshData()
|
||||||
|
|||||||
Reference in New Issue
Block a user