Commit 347b5efc authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Fix widget background in dark mode

parent 01f2a368
Pipeline #187254 passed with stage
in 5 minutes and 19 seconds
......@@ -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 }) }
......
......@@ -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" />
</RelativeLayout>
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment