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:
parent
d7f3a998c4
commit
e78e9da908
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user