Browse Source

style: fixup needlessly wrapped line

master
Saúl Ibarra Corretgé 4 years ago
parent
commit
bf60be1654
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      react/features/room-lock/components/RoomLockPrompt.native.js

+ 1
- 4
react/features/room-lock/components/RoomLockPrompt.native.js View File

@@ -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
 

Loading…
Cancel
Save