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
|
<View
|
||||||
style = { styles.passwordContainer } >
|
style = { styles.passwordContainer } >
|
||||||
<Text style = { styles.passwordContainerText }>
|
<Text style = { styles.passwordContainerText }>
|
||||||
{ t('security.about') }
|
{ t(_isModerator ? 'security.about' : 'security.aboutReadOnly') }
|
||||||
</Text>
|
</Text>
|
||||||
<View
|
<View
|
||||||
style = {
|
style = {
|
||||||
|
@ -310,7 +310,7 @@ class SecurityDialog extends PureComponent<Props, State> {
|
||||||
<View>
|
<View>
|
||||||
{ this._setRoomPasswordMessage() }
|
{ this._setRoomPasswordMessage() }
|
||||||
</View>
|
</View>
|
||||||
{ setPasswordControls }
|
{ _isModerator && setPasswordControls }
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
@ -367,7 +367,7 @@ class SecurityDialog extends PureComponent<Props, State> {
|
||||||
{ t('info.password') }
|
{ t('info.password') }
|
||||||
</Text>
|
</Text>
|
||||||
<Text style = { styles.savedPassword }>
|
<Text style = { styles.savedPassword }>
|
||||||
{ passwordInputValue }
|
{ _password }
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue