feat(security/native): options available only if participant is moderator
This commit is contained in:
parent
a7c1aa4900
commit
126dba8070
|
@ -300,7 +300,7 @@ class SecurityDialog extends PureComponent<Props, State> {
|
|||
<View
|
||||
style = { styles.passwordContainer } >
|
||||
<Text style = { styles.passwordContainerText }>
|
||||
{ t('security.about') }
|
||||
{ t(_isModerator ? 'security.about' : 'security.aboutReadOnly') }
|
||||
</Text>
|
||||
<View
|
||||
style = {
|
||||
|
@ -310,7 +310,7 @@ class SecurityDialog extends PureComponent<Props, State> {
|
|||
<View>
|
||||
{ this._setRoomPasswordMessage() }
|
||||
</View>
|
||||
{ setPasswordControls }
|
||||
{ _isModerator && setPasswordControls }
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
|
@ -367,7 +367,7 @@ class SecurityDialog extends PureComponent<Props, State> {
|
|||
{ t('info.password') }
|
||||
</Text>
|
||||
<Text style = { styles.savedPassword }>
|
||||
{ passwordInputValue }
|
||||
{ _password }
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue