mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-21 15:05:19 +00:00
Avatar dialog shows a red "remove" button
This commit is contained in:
parent
0218bf9dc3
commit
ad944e3398
@ -581,6 +581,7 @@ class SettingsActivity : PassphraseRequiredActionBarActivity() {
|
||||
DialogButtonModel(
|
||||
text = GetString(R.string.remove),
|
||||
contentDescription = GetString(R.string.AccessibilityId_remove),
|
||||
color = LocalColors.current.danger,
|
||||
enabled = state is UserAvatar || // can remove is the user has an avatar set
|
||||
(state is TempAvatar && state.hasAvatar),
|
||||
onClick = removeAvatar
|
||||
|
Loading…
Reference in New Issue
Block a user