Merge pull request #5847 from vector-im/bugfix/eric/missing-call-icons
Fixes Missing Call Icons when threads are enabled
This commit is contained in:
commit
521fd1fcd7
|
@ -0,0 +1 @@
|
||||||
|
Fixes missing call icons when threads are enabled
|
|
@ -1,7 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
tools:ignore="AlwaysShowAction">
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/timeline_setting"
|
android:id="@+id/timeline_setting"
|
||||||
|
@ -19,24 +20,27 @@
|
||||||
android:title="@string/action_invite"
|
android:title="@string/action_invite"
|
||||||
app:showAsAction="never" />
|
app:showAsAction="never" />
|
||||||
|
|
||||||
|
<!-- We always want to show this item as an icon -->
|
||||||
<item
|
<item
|
||||||
android:id="@+id/video_call"
|
android:id="@+id/video_call"
|
||||||
android:icon="@drawable/ic_video"
|
android:icon="@drawable/ic_video"
|
||||||
android:title="@string/action_video_call"
|
android:title="@string/action_video_call"
|
||||||
android:visible="false"
|
android:visible="false"
|
||||||
app:iconTint="?colorPrimary"
|
app:iconTint="?colorPrimary"
|
||||||
app:showAsAction="ifRoom"
|
app:showAsAction="always"
|
||||||
tools:visible="true" />
|
tools:visible="true" />
|
||||||
|
|
||||||
|
<!-- We always want to show this item as an icon -->
|
||||||
<item
|
<item
|
||||||
android:id="@+id/voice_call"
|
android:id="@+id/voice_call"
|
||||||
android:icon="@drawable/ic_phone"
|
android:icon="@drawable/ic_phone"
|
||||||
android:title="@string/call"
|
android:title="@string/action_voice_call"
|
||||||
android:visible="false"
|
android:visible="false"
|
||||||
app:iconTint="?colorPrimary"
|
app:iconTint="?colorPrimary"
|
||||||
app:showAsAction="ifRoom"
|
app:showAsAction="always"
|
||||||
tools:visible="true" />
|
tools:visible="true" />
|
||||||
|
|
||||||
|
<!-- We always want to show this item as an icon -->
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_timeline_thread_list"
|
android:id="@+id/menu_timeline_thread_list"
|
||||||
android:title="@string/action_view_threads"
|
android:title="@string/action_view_threads"
|
||||||
|
|
Loading…
Reference in New Issue