mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Fixed 'you have joined the group' chat event for created group icon not matching others + added new icon for admin rights granted event
This commit is contained in:
parent
fa7486ff36
commit
0baceddf27
2 changed files with 13 additions and 0 deletions
|
|
@ -100,12 +100,16 @@ class EventModel @WorkerThread constructor(private val eventLog: EventLog) {
|
|||
EventLog.Type.ConferenceSubjectChanged -> {
|
||||
R.drawable.pencil_simple
|
||||
}
|
||||
EventLog.Type.ConferenceCreated,
|
||||
EventLog.Type.ConferenceParticipantAdded,
|
||||
EventLog.Type.ConferenceParticipantRemoved,
|
||||
EventLog.Type.ConferenceParticipantDeviceAdded,
|
||||
EventLog.Type.ConferenceParticipantDeviceRemoved -> {
|
||||
R.drawable.door
|
||||
}
|
||||
EventLog.Type.ConferenceParticipantSetAdmin -> {
|
||||
R.drawable.user_circle_check
|
||||
}
|
||||
else -> R.drawable.user_circle
|
||||
},
|
||||
coreContext.context.theme
|
||||
|
|
|
|||
9
app/src/main/res/drawable/user_circle_check.xml
Normal file
9
app/src/main/res/drawable/user_circle_check.xml
Normal 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.35,104.11a8,8 0,0 0,-6.57 9.21A88.85,88.85 0,0 1,216 128a87.62,87.62 0,0 1,-22.24 58.41,79.66 79.66,0 0,0 -36.06,-28.75 48,48 0,1 0,-59.4 0,79.66 79.66,0 0,0 -36.06,28.75A88,88 0,0 1,128 40a88.76,88.76 0,0 1,14.68 1.22,8 8,0 0,0 2.64,-15.78 103.92,103.92 0,1 0,85.24 85.24A8,8 0,0 0,221.35 104.11ZM96,120a32,32 0,1 1,32 32A32,32 0,0 1,96 120ZM74.08,197.5a64,64 0,0 1,107.84 0,87.83 87.83,0 0,1 -107.84,0ZM237.66,45.66l-32,32a8,8 0,0 1,-11.32 0l-16,-16a8,8 0,0 1,11.32 -11.32L200,60.69l26.34,-26.35a8,8 0,0 1,11.32 11.32Z"
|
||||
android:fillColor="#4e6074"/>
|
||||
</vector>
|
||||
Loading…
Add table
Reference in a new issue