From 6096e54a38edd1a0ac27f8844897dd81e030aaed Mon Sep 17 00:00:00 2001 From: Forrest Guice Date: Wed, 25 Sep 2024 11:18:23 -0700 Subject: [PATCH] WidgetActions fixes incorrect data type in substitution --- .../com/forrestguice/suntimeswidget/settings/WidgetActions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/forrestguice/suntimeswidget/settings/WidgetActions.java b/app/src/main/java/com/forrestguice/suntimeswidget/settings/WidgetActions.java index 474ada869..b3f189c66 100644 --- a/app/src/main/java/com/forrestguice/suntimeswidget/settings/WidgetActions.java +++ b/app/src/main/java/com/forrestguice/suntimeswidget/settings/WidgetActions.java @@ -736,7 +736,7 @@ public static String displayStringForPattern(Context context, String pattern, Su return utils.displayStringForTitlePattern(context, pattern, (SuntimesMoonData) data); } else if (data instanceof SuntimesEquinoxSolsticeData) { - return utils.displayStringForTitlePattern(context, pattern, (SuntimesMoonData) data); + return utils.displayStringForTitlePattern(context, pattern, (SuntimesEquinoxSolsticeData) data); } else { return utils.displayStringForTitlePattern(context, pattern, data);