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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user