mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-08 21:24:30 +00:00
Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
This commit is contained in:
parent
c0fd2eb937
commit
400db3b37e
@ -433,14 +433,9 @@ class WebRtcCallActivity : PassphraseRequiredActionBarActivity() {
|
||||
* Shows the avatar image.
|
||||
* If @showUserAvatar is true, the user's avatar is shown, otherwise the contact's avatar is shown.
|
||||
*/
|
||||
private fun showAvatar(showUserAvatar: Boolean){
|
||||
if(showUserAvatar){
|
||||
binding.userAvatar.isVisible = true
|
||||
binding.contactAvatar.isVisible = false
|
||||
} else {
|
||||
binding.userAvatar.isVisible = false
|
||||
binding.contactAvatar.isVisible = true
|
||||
}
|
||||
private fun showAvatar(showUserAvatar: Boolean) {
|
||||
binding.userAvatar.isVisible = showUserAvatar
|
||||
binding.contactAvatar.isVisible = !showUserAvatar
|
||||
}
|
||||
|
||||
private fun hideAvatar(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user