feat: auto-refresh widget colors when the theme is change by the user

This commit is contained in:
pml68
2024-03-07 19:58:38 +01:00
parent 5966594b44
commit 8488921075
2 changed files with 20 additions and 0 deletions

View File

@@ -248,6 +248,9 @@ public class WidgetTimetableDataProvider implements RemoteViewsService.RemoteVie
}
private void initData() {
// refresh theme
fullTheme = getFullTheme(context);
rday = WidgetTimetable.selectDay(context, appWidgetId, 0, false);
day_subjects.clear();