From de205ce24acb14ce923dcd17e145b60843687b98 Mon Sep 17 00:00:00 2001 From: Forrest Guice Date: Sat, 12 Oct 2024 20:05:29 -0700 Subject: [PATCH] widget list summary --- .../suntimes/naturalhour/data/NaturalHourProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/forrestguice/suntimes/naturalhour/data/NaturalHourProvider.java b/app/src/main/java/com/forrestguice/suntimes/naturalhour/data/NaturalHourProvider.java index a305d67..7ec8627 100644 --- a/app/src/main/java/com/forrestguice/suntimes/naturalhour/data/NaturalHourProvider.java +++ b/app/src/main/java/com/forrestguice/suntimes/naturalhour/data/NaturalHourProvider.java @@ -243,7 +243,7 @@ public static MatrixCursor createWidgetListCursor(Context context, String[] colu for (int appWidgetID : widgetIDs) { ColorValues colors = colorCollection.getSelectedColors(context, appWidgetID); - String label = (colors != null ? colors.getLabel() : null); + String label = (colors != null ? colors.getID() : null); String formatString = summary[i] + " (%s)"; String summary0 = (label != null ? String.format(formatString, label) : summary[i]);