[Widget/Config] Disable Unified lucky number widget in config activity.

This commit is contained in:
Kuba Szczodrzyński 2020-01-07 17:29:39 +01:00
parent ea5720d1c8
commit b111d33b04

View File

@ -112,7 +112,7 @@ public class WidgetConfigActivity extends Activity {
.backgroundColor(Color.WHITE) .backgroundColor(Color.WHITE)
.build()); .build());
} }
if (profileList.size() > 1) { if (profileList.size() > 1 && widgetType != WIDGET_LUCKY_NUMBER) {
adapter.add( adapter.add(
new MaterialSimpleListItem.Builder(this) new MaterialSimpleListItem.Builder(this)
.id(-1) .id(-1)