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:
parent
2c2b560195
commit
f7bf12c4a5
1 changed files with 1 additions and 1 deletions
|
@ -141,4 +141,4 @@ fun AppWidgetManager.updateAppWidgetCompat(
|
||||||
* @return true if to use round mode, false otherwise.
|
* @return true if to use round mode, false otherwise.
|
||||||
*/
|
*/
|
||||||
fun useRoundedRemoteViews(context: Context) =
|
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
|
||||||
|
|
Loading…
Reference in a new issue