浏览代码

style: fixup needlessly wrapped line

master
Saúl Ibarra Corretgé 4 年前
父节点
当前提交
bf60be1654
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1
    4
      react/features/room-lock/components/RoomLockPrompt.native.js

+ 1
- 4
react/features/room-lock/components/RoomLockPrompt.native.js 查看文件

@@ -129,10 +129,7 @@ class RoomLockPrompt extends Component<Props> {
129 129
     _validateInput(value: string) {
130 130
 
131 131
         // we want only digits, but both number-pad and numeric add ',' and '.' as symbols
132
-        if (this.props.passwordNumberOfDigits
133
-            && value.length > 0
134
-            && !/^\d+$/.test(value)) {
135
-
132
+        if (this.props.passwordNumberOfDigits && value.length > 0 && !/^\d+$/.test(value)) {
136 133
             return false;
137 134
         }
138 135
 

正在加载...
取消
保存