diff --git a/presentation/src/main/java/com/moez/QKSMS/feature/widget/WidgetAdapter.kt b/presentation/src/main/java/com/moez/QKSMS/feature/widget/WidgetAdapter.kt index 608b4162524d3e343fd3517986eb014c91d5d259..9f9f9edf5c04f251f4120f0ced299068bb53f2cc 100644 --- a/presentation/src/main/java/com/moez/QKSMS/feature/widget/WidgetAdapter.kt +++ b/presentation/src/main/java/com/moez/QKSMS/feature/widget/WidgetAdapter.kt @@ -120,7 +120,7 @@ class WidgetAdapter(intent: Intent) : RemoteViewsService.RemoteViewsFactory { remoteViews.setInt(R.id.avatar, "setBackgroundColor", theme.theme) remoteViews.setTextColor(R.id.initial, theme.textPrimary) remoteViews.setInt(R.id.icon, "setColorFilter", theme.textPrimary) - remoteViews.setInt(R.id.avatarMask, "setColorFilter", background) + remoteViews.setInt(R.id.avatarMask, "setColorFilter", context.getColor(R.color.backgroundDark)) val contact = conversation.recipients.map { recipient -> recipient.contact ?: Contact().apply { numbers.add(PhoneNumber().apply { address = recipient.address }) } diff --git a/presentation/src/main/res/layout/widget.xml b/presentation/src/main/res/layout/widget.xml index 408d921567955bb16c97bff76af93abd6e8655aa..5e99fa8f7e0f86bbb92f043d442a340894ab73e2 100644 --- a/presentation/src/main/res/layout/widget.xml +++ b/presentation/src/main/res/layout/widget.xml @@ -84,6 +84,6 @@ android:layout_width="match_parent" android:layout_height="8dp" android:layout_below="@id/toolbar" - android:background="@drawable/ab_shadow" /> + android:background="@color/backgroundDark" /> diff --git a/presentation/src/main/res/layout/widget_list_item.xml b/presentation/src/main/res/layout/widget_list_item.xml index 2cdaf088a453150905a92a1fd1ef883817bc240f..53a33a35ae67951f3ae49a4c8fab155c70069f49 100755 --- a/presentation/src/main/res/layout/widget_list_item.xml +++ b/presentation/src/main/res/layout/widget_list_item.xml @@ -23,7 +23,7 @@ android:id="@+id/conversation" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:background="@drawable/ripple" + android:background="@color/backgroundDark" android:gravity="center_vertical|start" android:orientation="horizontal" android:paddingLeft="16dp"