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:11 -07:00
parent 2c2b560195
commit f7bf12c4a5
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -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