ソースを参照

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
 

読み込み中…
キャンセル
保存