From f7bf12c4a56fad9ea2cbe65463e348fa68490f21 Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Tue, 17 Jan 2023 15:07:11 -0700 Subject: [PATCH] widget: fix round mode issue Fix a problem where round mode would not round the widget bar, as it normally would. --- app/src/main/java/org/oxycblt/auxio/widgets/WidgetUtil.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/oxycblt/auxio/widgets/WidgetUtil.kt b/app/src/main/java/org/oxycblt/auxio/widgets/WidgetUtil.kt index 81b4dd6ac..2fe319470 100644 --- a/app/src/main/java/org/oxycblt/auxio/widgets/WidgetUtil.kt +++ b/app/src/main/java/org/oxycblt/auxio/widgets/WidgetUtil.kt @@ -141,4 +141,4 @@ fun AppWidgetManager.updateAppWidgetCompat( * @return true if to use round mode, false otherwise. */ fun useRoundedRemoteViews(context: Context) = - UISettings.from(context).roundMode && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S + UISettings.from(context).roundMode || Build.VERSION.SDK_INT >= Build.VERSION_CODES.S