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

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

Fix widget background in dark mode

parent 01f2a368
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 }) }
+1 −1
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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"