Fixes missing call icons

This commit is contained in:
ericdecanini 2022-04-26 21:10:40 +02:00
parent 343322ef21
commit f6a03cdc63

View file

@ -19,24 +19,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/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"
@ -44,7 +47,8 @@
app:actionLayout="@layout/view_thread_notification_badge" app:actionLayout="@layout/view_thread_notification_badge"
app:iconTint="?colorPrimary" app:iconTint="?colorPrimary"
app:showAsAction="always" app:showAsAction="always"
tools:visible="true" /> tools:visible="true"
tools:ignore="AlwaysShowAction" />
<item <item
android:id="@+id/join_conference" android:id="@+id/join_conference"
@ -86,4 +90,4 @@
android:title="@string/action_share" android:title="@string/action_share"
app:iconTint="?vctr_content_secondary" app:iconTint="?vctr_content_secondary"
app:showAsAction="withText" /> app:showAsAction="withText" />
</menu> </menu>