Updated bell and bell_slash icons

This commit is contained in:
Sylvain Berfini 2025-07-30 18:40:04 +02:00
parent 95ce77e0e4
commit 97c6c0b553
13 changed files with 29 additions and 29 deletions

View file

@ -640,10 +640,10 @@ class MainViewModel
R.drawable.wifi_slash
}
SEND_NOTIFICATIONS_PERMISSION_NOT_GRANTED, FULL_SCREEN_INTENTS_PERMISSION_NOT_GRANTED -> {
R.drawable.bell_simple_slash
R.drawable.bell_slash
}
else -> {
R.drawable.bell_simple
R.drawable.bell
}
}
alertIcon.postValue(icon)

View file

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="256"
android:viewportHeight="256">
<path
android:pathData="M221.8,175.94C216.25,166.38 208,139.33 208,104a80,80 0,1 0,-160 0c0,35.34 -8.26,62.38 -13.81,71.94A16,16 0,0 0,48 200H88.81a40,40 0,0 0,78.38 0H208a16,16 0,0 0,13.8 -24.06ZM128,216a24,24 0,0 1,-22.62 -16h45.24A24,24 0,0 1,128 216ZM48,184c7.7,-13.24 16,-43.92 16,-80a64,64 0,1 1,128 0c0,36.05 8.28,66.73 16,80Z"
android:fillColor="#4e6074"/>
</vector>

View file

@ -1,9 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="256"
android:viewportHeight="256">
<path
android:pathData="M168,224a8,8 0,0 1,-8 8L96,232a8,8 0,1 1,0 -16h64A8,8 0,0 1,168 224ZM221.85,192A15.8,15.8 0,0 1,208 200L48,200a16,16 0,0 1,-13.8 -24.06C39.75,166.38 48,139.34 48,104a80,80 0,1 1,160 0c0,35.33 8.26,62.38 13.81,71.94A15.89,15.89 0,0 1,221.84 192ZM208,184c-7.73,-13.27 -16,-43.95 -16,-80a64,64 0,1 0,-128 0c0,36.06 -8.28,66.74 -16,80Z"
android:fillColor="#4e6074"/>
</vector>

View file

@ -1,9 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="256"
android:viewportHeight="256">
<path
android:pathData="M53.92,34.62A8,8 0,1 0,42.08 45.38L58.82,63.8A79.59,79.59 0,0 0,48 104c0,35.34 -8.26,62.38 -13.81,71.94A16,16 0,0 0,48 200L182.64,200l19.44,21.38a8,8 0,1 0,11.84 -10.76ZM48,184c7.7,-13.24 16,-43.92 16,-80a63.65,63.65 0,0 1,6.26 -27.62L168.09,184ZM168,224a8,8 0,0 1,-8 8L96,232a8,8 0,0 1,0 -16h64A8,8 0,0 1,168 224ZM214,179.25a8.13,8.13 0,0 1,-2.93 0.55,8 8,0 0,1 -7.44,-5.08C196.35,156.19 192,129.75 192,104A64,64 0,0 0,96.43 48.31a8,8 0,0 1,-7.9 -13.91A80,80 0,0 1,208 104c0,35.35 8.05,58.59 10.52,64.88A8,8 0,0 1,214 179.25Z"
android:fillColor="#4e6074"/>
</vector>

View file

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="256"
android:viewportHeight="256">
<path
android:pathData="M53.92,34.62A8,8 0,1 0,42.08 45.38L58.82,63.8A79.59,79.59 0,0 0,48 104c0,35.34 -8.26,62.38 -13.81,71.94A16,16 0,0 0,48 200L88.8,200a40,40 0,0 0,78.4 0h15.44l19.44,21.38a8,8 0,1 0,11.84 -10.76ZM128,216a24,24 0,0 1,-22.62 -16h45.24A24,24 0,0 1,128 216ZM48,184c7.7,-13.24 16,-43.92 16,-80a63.65,63.65 0,0 1,6.26 -27.62L168.09,184ZM214,179.27a8.13,8.13 0,0 1,-2.93 0.55,8 8,0 0,1 -7.44,-5.08C196.35,156.19 192,129.75 192,104A64,64 0,0 0,96.43 48.31a8,8 0,0 1,-7.9 -13.91A80,80 0,0 1,208 104c0,35.35 8.05,58.59 10.52,64.88A8,8 0,0 1,214 179.25Z"
android:fillColor="#4e6074"/>
</vector>

View file

@ -100,7 +100,7 @@
android:layout_marginTop="68dp"
android:background="@drawable/circle_light_blue_button_background"
android:padding="16dp"
android:src="@drawable/bell_simple_slash"
android:src="@drawable/bell_slash"
android:contentDescription="@null"
app:tint="?attr/color_main2_500"
app:layout_constraintVertical_chainStyle="packed"

View file

@ -87,7 +87,7 @@
android:layout_marginTop="68dp"
android:background="@drawable/circle_light_blue_button_background"
android:padding="16dp"
android:src="@drawable/bell_simple_slash"
android:src="@drawable/bell_slash"
android:contentDescription="@null"
app:tint="?attr/color_main2_500"
app:layout_constraintStart_toStartOf="parent"

View file

@ -126,7 +126,7 @@
android:layout_width="@dimen/small_icon_size"
android:layout_height="@dimen/small_icon_size"
android:layout_marginEnd="5dp"
android:src="@drawable/bell_simple_slash"
android:src="@drawable/bell_slash"
android:contentDescription="@string/content_description_chat_muted"
android:visibility="@{viewModel.isMuted ? View.VISIBLE : View.GONE, default=gone}"
app:layout_constraintStart_toStartOf="@id/title"

View file

@ -62,7 +62,7 @@
android:text="@{isMuted ? @string/conversation_action_unmute : @string/conversation_action_mute, default=@string/conversation_action_mute}"
android:background="@drawable/menu_item_background"
android:layout_marginBottom="1dp"
android:drawableStart="@{isMuted ? @drawable/bell_simple : @drawable/bell_simple_slash, default=@drawable/bell_simple_slash}"
android:drawableStart="@{isMuted ? @drawable/bell : @drawable/bell_slash, default=@drawable/bell_slash}"
android:visibility="@{isReadOnly ? View.GONE : View.VISIBLE}"
app:layout_constraintBottom_toTopOf="@id/call"
app:layout_constraintStart_toStartOf="parent"

View file

@ -77,7 +77,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/conversation_action_mute"
android:drawableStart="@drawable/bell_simple_slash"
android:drawableStart="@drawable/bell_slash"
android:visibility="@{conversationMuted || readOnlyConversation ? View.GONE : View.VISIBLE}"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
@ -91,7 +91,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/conversation_action_unmute"
android:drawableStart="@drawable/bell_simple"
android:drawableStart="@drawable/bell"
android:visibility="@{conversationMuted &amp;&amp; !readOnlyConversation ? View.VISIBLE : View.GONE, default=gone}"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View file

@ -203,7 +203,7 @@
android:onClick="@{() -> viewModel.toggleMute()}"
android:padding="16dp"
android:contentDescription="@string/content_description_chat_toggle_mute"
android:src="@{viewModel.isMuted ? @drawable/bell_simple : @drawable/bell_simple_slash, default=@drawable/bell_simple_slash}"
android:src="@{viewModel.isMuted ? @drawable/bell : @drawable/bell_slash, default=@drawable/bell_slash}"
android:visibility="@{viewModel.isReadOnly ? View.GONE : View.VISIBLE}"
app:layout_constraintEnd_toStartOf="@id/call"
app:layout_constraintStart_toStartOf="parent"

View file

@ -174,7 +174,7 @@
android:layout_width="@dimen/small_icon_size"
android:layout_height="@dimen/small_icon_size"
android:layout_marginEnd="10dp"
android:src="@drawable/bell_simple_slash"
android:src="@drawable/bell_slash"
android:contentDescription="@string/content_description_chat_muted"
android:visibility="@{model.isMuted ? View.VISIBLE : View.GONE}"
app:layout_constraintEnd_toStartOf="@id/last_sent_message_status"

View file

@ -23,7 +23,7 @@
android:layout_marginStart="16dp"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:src="@{viewModel.alertIcon, default=@drawable/bell_simple}"
android:src="@{viewModel.alertIcon, default=@drawable/bell}"
android:contentDescription="@null"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"