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

Commit 679445fb authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Updates to conversation page

- Make info preference not selectable
- remove dividers

Test: manual
Fixes: 189414449
Change-Id: I081cea0d51fbc2d1c54ac392cee88a5750985fce
parent eb838f2e
Loading
Loading
Loading
Loading
+4 −16
Original line number Diff line number Diff line
@@ -29,18 +29,10 @@
    <PreferenceCategory
        android:key="important_conversations"
        android:title="@string/important_conversations"
        settings:isPreferenceVisible="false"
        settings:allowDividerAbove="false"
        settings:allowDividerBelow="true" >
        <Preference
            android:key="behavior"
            android:selectable="false"
            android:summary="@string/important_conversation_behavior_summary"/>
        settings:isPreferenceVisible="false" >
        <!-- Important conversations added here -->
        <PreferenceCategory
            android:key="important_conversations_list"
            settings:allowDividerAbove="false"
            settings:allowDividerBelow="false" >
            android:key="important_conversations_list" >
        </PreferenceCategory>
    </PreferenceCategory>

@@ -48,16 +40,12 @@
    <PreferenceCategory
        android:title="@string/other_conversations"
        android:key="other_conversations"
        settings:isPreferenceVisible="false"
        settings:allowDividerAbove="true"
        settings:allowDividerBelow="false" />
        settings:isPreferenceVisible="false" />

    <!-- Recent conversations added here -->
    <PreferenceCategory
        android:title="@string/recent_conversations"
        android:key="recent_conversations"
        settings:isPreferenceVisible="false"
        settings:allowDividerAbove="true"
        settings:allowDividerBelow="false" />
        settings:isPreferenceVisible="false"/>

</PreferenceScreen>
+1 −0
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@ public class PriorityConversationsPreferenceController extends
        Preference pref = new Preference(mContext);
        pref.setOrder(1);
        pref.setSummary(R.string.important_conversations_summary_bubbles);
        pref.setSelectable(false);
        return pref;
    }