diff --git a/app/src/main/java/foundation/e/advancedprivacy/widget/WidgetUI.kt b/app/src/main/java/foundation/e/advancedprivacy/widget/WidgetUI.kt index f5ae2c7f3c9b95533accb6b599e1d29fc630f149..f55b178d23dac29f3c00e82fdf6a6cc9369d87d5 100644 --- a/app/src/main/java/foundation/e/advancedprivacy/widget/WidgetUI.kt +++ b/app/src/main/java/foundation/e/advancedprivacy/widget/WidgetUI.kt @@ -148,7 +148,7 @@ private fun buildLayout(context: Context, appWidgetManager: AppWidgetManager, wi return RemoteViews( context.packageName, when (width) { - in 0..NARROW_MAXWIDTH_DP_BREAKPOINT -> + in 1..NARROW_MAXWIDTH_DP_BREAKPOINT -> R.layout.widget_narrow else -> R.layout.widget_large }