1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-18 16:09:30 +01:00

Fix preference changes not being applied immediately

This commit is contained in:
Arjan Schrijver 2024-02-17 21:47:31 +01:00
parent d7f3a998c4
commit e78e9da908

View File

@ -115,6 +115,13 @@ public class DashboardFragment extends Fragment {
@Override
public void onResume() {
super.onResume();
gridLayout.removeAllViews();
todayWidget = null;
goalsWidget = null;
stepsWidget = null;
distanceWidget = null;
activeTimeWidget = null;
sleepWidget = null;
refresh();
}