Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c780650 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

Merge branch '1943-fix-widget-size-for-bl3' into 'main'

fix: change widget layout selection

See merge request !165
parents 79c3a454 59678e88
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
        }