widget: fix round mode issue

Fix a problem where round mode would not round the widget bar, as it
normally would.
This commit is contained in:
Alexander Capehart
2023-01-17 15:07:37 -07:00
parent 2c2b560195
commit f7bf12c4a5
@@ -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