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

Commit 2d67b499 authored by Philip Whitehouse's avatar Philip Whitehouse
Browse files

Move recipient token to theme file and define different for dark theme - fixes #1277

parent 78715ed2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
    android:orientation="horizontal"
    android:layout_width="wrap_content"
    android:layout_height="32dp"
    android:background="#ccc">
    android:background="?attr/contactTokenBackgroundColor">

    <ImageView
        android:layout_width="32dp"
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@
        <attr name="messageComposeAddContactImage" format="reference"/>
        <attr name="composerBackgroundColor" format="color"/>
        <attr name="contactPictureFallbackDefaultBackgroundColor" format="reference|color"/>
        <attr name="contactTokenBackgroundColor" format="reference|color"/>
    </declare-styleable>

    <declare-styleable name="SliderPreference">
+2 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@
        <item name="messageViewAttachmentBackground">@drawable/attachment_text_box_light</item>
        <item name="messageComposeAddContactImage">@drawable/ic_button_add_contact_light</item>
        <item name="contactPictureFallbackDefaultBackgroundColor">#ffababab</item>
        <item name="contactTokenBackgroundColor">#ccc</item>
        <item name="composerBackgroundColor">@android:color/background_light</item>
    </style>

@@ -111,6 +112,7 @@
        <item name="messageViewBackgroundColor">#000000</item>
        <item name="messageViewAttachmentBackground">@drawable/attachment_text_box_dark</item>
        <item name="messageComposeAddContactImage">@drawable/ic_button_add_contact_dark</item>
        <item name="contactTokenBackgroundColor">#313131</item>
        <item name="contactPictureFallbackDefaultBackgroundColor">#ff606060</item>
        <item name="composerBackgroundColor">@android:color/background_dark</item>
    </style>